{"action":"created","comment":{"url":"https://api.github.com/repos/facebook/stetho/pulls/comments/26332939","id":26332939,"diff_hunk":"@@ -30,18 +29,43 @@\n   };\n \n   private final Context mContext;\n+  private final DatabaseFilesProvider mDatabaseFilesProvider;\n \n-  public DatabasePeerManager(Context context) {\n+  /**\n+   * Constructs the object with a {@link DatabaseFilesProvider} that supplies the database files\n+   * from {@link Context#databaseList()}.\n+   *\n+   * @param context the context\n+   */\n+  public DatabasePeerManager(final Context context) {\n+    this(context, new DatabaseFilesProvider() {\n+      @Override public Set<File> getDatabaseFiles() {\n+        Set<File> databaseFiles = new HashSet<File>();\n+        for (String filename : context.databaseList())","path":"stetho/src/main/java/com/facebook/stetho/inspector/database/DatabasePeerManager.java","position":25,"original_position":25,"commit_id":"f9cc94ba6c23b9ce3f1beb55cf6798558d05ca40","original_commit_id":"f9cc94ba6c23b9ce3f1beb55cf6798558d05ca40","user":{"login":"jasta","id":83791,"avatar_url":"https://avatars.githubusercontent.com/u/83791?v=3","gravatar_id":"","url":"https://api.github.com/users/jasta","html_url":"https://github.com/jasta","followers_url":"https://api.github.com/users/jasta/followers","following_url":"https://api.github.com/users/jasta/following{/other_user}","gists_url":"https://api.github.com/users/jasta/gists{/gist_id}","starred_url":"https://api.github.com/users/jasta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasta/subscriptions","organizations_url":"https://api.github.com/users/jasta/orgs","repos_url":"https://api.github.com/users/jasta/repos","events_url":"https://api.github.com/users/jasta/events{/privacy}","received_events_url":"https://api.github.com/users/jasta/received_events","type":"User","site_admin":false},"body":"Oh, so I did.  Well that's weird, I have no memory of this at all.  *facepalm*","created_at":"2015-03-12T18:52:44Z","updated_at":"2015-03-12T18:52:44Z","html_url":"https://github.com/facebook/stetho/pull/91#discussion_r26332939","pull_request_url":"https://api.github.com/repos/facebook/stetho/pulls/91","_links":{"self":{"href":"https://api.github.com/repos/facebook/stetho/pulls/comments/26332939"},"html":{"href":"https://github.com/facebook/stetho/pull/91#discussion_r26332939"},"pull_request":{"href":"https://api.github.com/repos/facebook/stetho/pulls/91"}}},"pull_request":{"url":"https://api.github.com/repos/facebook/stetho/pulls/91","id":31061441,"html_url":"https://github.com/facebook/stetho/pull/91","diff_url":"https://github.com/facebook/stetho/pull/91.diff","patch_url":"https://github.com/facebook/stetho/pull/91.patch","issue_url":"https://api.github.com/repos/facebook/stetho/issues/91","number":91,"state":"open","locked":false,"title":"Added a way to provide the database files to the DatabasePeerManager module.","user":{"login":"jferlisi","id":63950,"avatar_url":"https://avatars.githubusercontent.com/u/63950?v=3","gravatar_id":"","url":"https://api.github.com/users/jferlisi","html_url":"https://github.com/jferlisi","followers_url":"https://api.github.com/users/jferlisi/followers","following_url":"https://api.github.com/users/jferlisi/following{/other_user}","gists_url":"https://api.github.com/users/jferlisi/gists{/gist_id}","starred_url":"https://api.github.com/users/jferlisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jferlisi/subscriptions","organizations_url":"https://api.github.com/users/jferlisi/orgs","repos_url":"https://api.github.com/users/jferlisi/repos","events_url":"https://api.github.com/users/jferlisi/events{/privacy}","received_events_url":"https://api.github.com/users/jferlisi/received_events","type":"User","site_admin":false},"body":"Created an interface to provide database files at the time of a peer connection. This allows applications that create databases in directories other than the default one to have their data viewable in the Database section.","created_at":"2015-03-12T17:55:43Z","updated_at":"2015-03-12T18:52:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ce1b979fbe7d929d0c0b6731dbcfc38a6ae68594","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/facebook/stetho/pulls/91/commits","review_comments_url":"https://api.github.com/repos/facebook/stetho/pulls/91/comments","review_comment_url":"https://api.github.com/repos/facebook/stetho/pulls/comments{/number}","comments_url":"https://api.github.com/repos/facebook/stetho/issues/91/comments","statuses_url":"https://api.github.com/repos/facebook/stetho/statuses/f9cc94ba6c23b9ce3f1beb55cf6798558d05ca40","head":{"label":"jferlisi:database_file_provider","ref":"database_file_provider","sha":"f9cc94ba6c23b9ce3f1beb55cf6798558d05ca40","user":{"login":"jferlisi","id":63950,"avatar_url":"https://avatars.githubusercontent.com/u/63950?v=3","gravatar_id":"","url":"https://api.github.com/users/jferlisi","html_url":"https://github.com/jferlisi","followers_url":"https://api.github.com/users/jferlisi/followers","following_url":"https://api.github.com/users/jferlisi/following{/other_user}","gists_url":"https://api.github.com/users/jferlisi/gists{/gist_id}","starred_url":"https://api.github.com/users/jferlisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jferlisi/subscriptions","organizations_url":"https://api.github.com/users/jferlisi/orgs","repos_url":"https://api.github.com/users/jferlisi/repos","events_url":"https://api.github.com/users/jferlisi/events{/privacy}","received_events_url":"https://api.github.com/users/jferlisi/received_events","type":"User","site_admin":false},"repo":{"id":32021735,"name":"stetho","full_name":"jferlisi/stetho","owner":{"login":"jferlisi","id":63950,"avatar_url":"https://avatars.githubusercontent.com/u/63950?v=3","gravatar_id":"","url":"https://api.github.com/users/jferlisi","html_url":"https://github.com/jferlisi","followers_url":"https://api.github.com/users/jferlisi/followers","following_url":"https://api.github.com/users/jferlisi/following{/other_user}","gists_url":"https://api.github.com/users/jferlisi/gists{/gist_id}","starred_url":"https://api.github.com/users/jferlisi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jferlisi/subscriptions","organizations_url":"https://api.github.com/users/jferlisi/orgs","repos_url":"https://api.github.com/users/jferlisi/repos","events_url":"https://api.github.com/users/jferlisi/events{/privacy}","received_events_url":"https://api.github.com/users/jferlisi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jferlisi/stetho","description":"Stetho is a debug bridge for Android applications, enabling the powerful Chrome Developer Tools and much more.","fork":true,"url":"https://api.github.com/repos/jferlisi/stetho","forks_url":"https://api.github.com/repos/jferlisi/stetho/forks","keys_url":"https://api.github.com/repos/jferlisi/stetho/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jferlisi/stetho/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jferlisi/stetho/teams","hooks_url":"https://api.github.com/repos/jferlisi/stetho/hooks","issue_events_url":"https://api.github.com/repos/jferlisi/stetho/issues/events{/number}","events_url":"https://api.github.com/repos/jferlisi/stetho/events","assignees_url":"https://api.github.com/repos/jferlisi/stetho/assignees{/user}","branches_url":"https://api.github.com/repos/jferlisi/stetho/branches{/branch}","tags_url":"https://api.github.com/repos/jferlisi/stetho/tags","blobs_url":"https://api.github.com/repos/jferlisi/stetho/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jferlisi/stetho/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jferlisi/stetho/git/refs{/sha}","trees_url":"https://api.github.com/repos/jferlisi/stetho/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jferlisi/stetho/statuses/{sha}","languages_url":"https://api.github.com/repos/jferlisi/stetho/languages","stargazers_url":"https://api.github.com/repos/jferlisi/stetho/stargazers","contributors_url":"https://api.github.com/repos/jferlisi/stetho/contributors","subscribers_url":"https://api.github.com/repos/jferlisi/stetho/subscribers","subscription_url":"https://api.github.com/repos/jferlisi/stetho/subscription","commits_url":"https://api.github.com/repos/jferlisi/stetho/commits{/sha}","git_commits_url":"https://api.github.com/repos/jferlisi/stetho/git/commits{/sha}","comments_url":"https://api.github.com/repos/jferlisi/stetho/comments{/number}","issue_comment_url":"https://api.github.com/repos/jferlisi/stetho/issues/comments{/number}","contents_url":"https://api.github.com/repos/jferlisi/stetho/contents/{+path}","compare_url":"https://api.github.com/repos/jferlisi/stetho/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jferlisi/stetho/merges","archive_url":"https://api.github.com/repos/jferlisi/stetho/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jferlisi/stetho/downloads","issues_url":"https://api.github.com/repos/jferlisi/stetho/issues{/number}","pulls_url":"https://api.github.com/repos/jferlisi/stetho/pulls{/number}","milestones_url":"https://api.github.com/repos/jferlisi/stetho/milestones{/number}","notifications_url":"https://api.github.com/repos/jferlisi/stetho/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jferlisi/stetho/labels{/name}","releases_url":"https://api.github.com/repos/jferlisi/stetho/releases{/id}","created_at":"2015-03-11T14:21:21Z","updated_at":"2015-03-11T14:21:22Z","pushed_at":"2015-03-12T18:07:32Z","git_url":"git://github.com/jferlisi/stetho.git","ssh_url":"git@github.com:jferlisi/stetho.git","clone_url":"https://github.com/jferlisi/stetho.git","svn_url":"https://github.com/jferlisi/stetho","homepage":"http://facebook.github.io/stetho/","size":1672,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"facebook:master","ref":"master","sha":"7a2d4189a3e4eb50aeb15fdb97c50b207f707613","user":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"repo":{"id":29703871,"name":"stetho","full_name":"facebook/stetho","owner":{"login":"facebook","id":69631,"avatar_url":"https://avatars.githubusercontent.com/u/69631?v=3","gravatar_id":"","url":"https://api.github.com/users/facebook","html_url":"https://github.com/facebook","followers_url":"https://api.github.com/users/facebook/followers","following_url":"https://api.github.com/users/facebook/following{/other_user}","gists_url":"https://api.github.com/users/facebook/gists{/gist_id}","starred_url":"https://api.github.com/users/facebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/facebook/subscriptions","organizations_url":"https://api.github.com/users/facebook/orgs","repos_url":"https://api.github.com/users/facebook/repos","events_url":"https://api.github.com/users/facebook/events{/privacy}","received_events_url":"https://api.github.com/users/facebook/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/facebook/stetho","description":"Stetho is a debug bridge for Android applications, enabling the powerful Chrome Developer Tools and much more.","fork":false,"url":"https://api.github.com/repos/facebook/stetho","forks_url":"https://api.github.com/repos/facebook/stetho/forks","keys_url":"https://api.github.com/repos/facebook/stetho/keys{/key_id}","collaborators_url":"https://api.github.com/repos/facebook/stetho/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/facebook/stetho/teams","hooks_url":"https://api.github.com/repos/facebook/stetho/hooks","issue_events_url":"https://api.github.com/repos/facebook/stetho/issues/events{/number}","events_url":"https://api.github.com/repos/facebook/stetho/events","assignees_url":"https://api.github.com/repos/facebook/stetho/assignees{/user}","branches_url":"https://api.github.com/repos/facebook/stetho/branches{/branch}","tags_url":"https://api.github.com/repos/facebook/stetho/tags","blobs_url":"https://api.github.com/repos/facebook/stetho/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/facebook/stetho/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/facebook/stetho/git/refs{/sha}","trees_url":"https://api.github.com/repos/facebook/stetho/git/trees{/sha}","statuses_url":"https://api.github.com/repos/facebook/stetho/statuses/{sha}","languages_url":"https://api.github.com/repos/facebook/stetho/languages","stargazers_url":"https://api.github.com/repos/facebook/stetho/stargazers","contributors_url":"https://api.github.com/repos/facebook/stetho/contributors","subscribers_url":"https://api.github.com/repos/facebook/stetho/subscribers","subscription_url":"https://api.github.com/repos/facebook/stetho/subscription","commits_url":"https://api.github.com/repos/facebook/stetho/commits{/sha}","git_commits_url":"https://api.github.com/repos/facebook/stetho/git/commits{/sha}","comments_url":"https://api.github.com/repos/facebook/stetho/comments{/number}","issue_comment_url":"https://api.github.com/repos/facebook/stetho/issues/comments{/number}","contents_url":"https://api.github.com/repos/facebook/stetho/contents/{+path}","compare_url":"https://api.github.com/repos/facebook/stetho/compare/{base}...{head}","merges_url":"https://api.github.com/repos/facebook/stetho/merges","archive_url":"https://api.github.com/repos/facebook/stetho/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/facebook/stetho/downloads","issues_url":"https://api.github.com/repos/facebook/stetho/issues{/number}","pulls_url":"https://api.github.com/repos/facebook/stetho/pulls{/number}","milestones_url":"https://api.github.com/repos/facebook/stetho/milestones{/number}","notifications_url":"https://api.github.com/repos/facebook/stetho/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/facebook/stetho/labels{/name}","releases_url":"https://api.github.com/repos/facebook/stetho/releases{/id}","created_at":"2015-01-22T22:34:10Z","updated_at":"2015-03-12T18:48:08Z","pushed_at":"2015-03-12T07:02:57Z","git_url":"git://github.com/facebook/stetho.git","ssh_url":"git@github.com:facebook/stetho.git","clone_url":"https://github.com/facebook/stetho.git","svn_url":"https://github.com/facebook/stetho","homepage":"http://facebook.github.io/stetho/","size":1672,"stargazers_count":1851,"watchers_count":1851,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":104,"mirror_url":null,"open_issues_count":18,"forks":104,"open_issues":18,"watchers":1851,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/facebook/stetho/pulls/91"},"html":{"href":"https://github.com/facebook/stetho/pull/91"},"issue":{"href":"https://api.github.com/repos/facebook/stetho/issues/91"},"comments":{"href":"https://api.github.com/repos/facebook/stetho/issues/91/comments"},"review_comments":{"href":"https://api.github.com/repos/facebook/stetho/pulls/91/comments"},"review_comment":{"href":"https://api.github.com/repos/facebook/stetho/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/facebook/stetho/pulls/91/commits"},"statuses":{"href":"https://api.github.com/repos/facebook/stetho/statuses/f9cc94ba6c23b9ce3f1beb55cf6798558d05ca40"}}}}