Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(660)

Issue 9146028: Define the public interface for content browser SiteInstance. This interface is implemented by th... (Closed)

Created:
8 years, 11 months ago by ananta
Modified:
8 years, 11 months ago
CC:
chromium-reviews, Avi (use Gerrit), creis+watch_chromium.org, nkostylev+watch_chromium.org, achuith+watch_chromium.org, ajwong+watch_chromium.org, jam, mihaip+watch_chromium.org, joi+watch-content_chromium.org, Aaron Boodman, rginda+watch_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Define the public interface for content browser SiteInstance. This interface is implemented by the SiteInstanceImpl class which lives in content\browser\site_instance.cc/.h. Changes as part of creating a content API. BUG=98716 TEST=No change in functionality. Hopefully it all compiles and works. Review URL: http://codereview.chromium.org/8515027 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=119102

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 51

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 9

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+594 lines, -1478 lines) Patch
M chrome/browser/DEPS View 1 2 3 4 5 6 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/background/background_contents_service.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/background/background_contents_service.cc View 1 2 3 4 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 chunks +9 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/login/html_page_screen.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/registration_screen.cc View 1 2 3 4 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/login/web_page_view.h View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/login/web_page_view.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_file_browser_private_api.cc View 1 2 3 4 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_host.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_host.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_host_mac.h View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_message_service.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_process_manager.h View 1 2 3 4 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager.cc View 1 2 3 4 4 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager_unittest.cc View 1 2 3 4 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/extensions/isolated_app_browsertest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/balloon_host.h View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/notifications/balloon_host.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/renderer_host/chrome_render_view_host_observer.cc View 1 2 3 4 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/tab_contents/background_contents.h View 1 2 3 4 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/background_contents.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/tab_util.h View 1 2 3 4 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/tab_contents/tab_util.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/tabs/default_tab_handler.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
chrome/browser/tabs/default_tab_handler.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/tabs/tab_strip_model_delegate.h View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/tabs/tab_strip_model_unittest.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/tabs/test_tab_strip_model_delegate.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/tabs/test_tab_strip_model_delegate.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 3 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_navigator.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/fullscreen_exit_bubble_controller_unittest.mm View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/tabpose_window_unittest.mm View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_controller_unittest.mm View 1 2 3 4 3 chunks +5 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/dom_view.h View 1 2 3 4 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/dom_view.cc View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/virtual_keyboard/virtual_keyboard_manager.cc View 1 2 3 4 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/ui/webui/options/extension_settings_handler.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/web_ui_unittest.cc View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/browsing_instance.h View 1 2 3 4 5 6 7 5 chunks +10 lines, -8 lines 0 comments Download
M content/browser/browsing_instance.cc View 1 2 3 4 5 6 7 8 9 chunks +21 lines, -16 lines 0 comments Download
M content/browser/child_process_security_policy.cc View 1 2 3 4 5 6 7 3 chunks +5 lines, -3 lines 0 comments Download
M content/browser/debugger/render_view_devtools_agent_host.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_view_host.h View 1 2 3 4 4 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_view_host.cc View 1 2 3 4 3 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_factory.h View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_view_host_factory.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_manager_browsertest.cc View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M content/browser/renderer_host/test_render_view_host.h View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/test_render_view_host.cc View 1 2 3 4 4 chunks +5 lines, -4 lines 0 comments Download
D content/browser/site_instance.h View 1 2 3 4 1 chunk +0 lines, -204 lines 0 comments Download
D content/browser/site_instance.cc View 1 2 3 4 1 chunk +0 lines, -253 lines 0 comments Download
A + content/browser/site_instance_impl.h View 1 2 3 4 5 6 7 8 2 chunks +31 lines, -116 lines 0 comments Download
content/browser/site_instance_impl.cc View 1 2 3 4 5 6 7 11 chunks +44 lines, -28 lines 0 comments Download
A + content/browser/site_instance_impl_unittest.cc View 1 2 3 4 5 6 7 17 chunks +60 lines, -47 lines 0 comments Download
D content/browser/site_instance_unittest.cc View 1 2 3 4 1 chunk +0 lines, -591 lines 0 comments Download
M content/browser/ssl/ssl_policy.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/tab_contents/interstitial_page.cc View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
M content/browser/tab_contents/navigation_controller_impl.h View 1 2 3 4 2 chunks +5 lines, -4 lines 0 comments Download
M content/browser/tab_contents/navigation_controller_impl.cc View 1 2 3 4 7 chunks +10 lines, -6 lines 0 comments Download
M content/browser/tab_contents/navigation_controller_impl_unittest.cc View 1 2 3 4 5 chunks +7 lines, -5 lines 0 comments Download
M content/browser/tab_contents/navigation_entry_impl.h View 1 2 3 4 4 chunks +6 lines, -7 lines 0 comments Download
M content/browser/tab_contents/navigation_entry_impl.cc View 1 2 3 4 3 chunks +4 lines, -3 lines 0 comments Download
content/browser/tab_contents/navigation_entry_impl_unittest.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
content/browser/tab_contents/render_view_host_manager.h View 1 2 3 4 3 chunks +5 lines, -5 lines 0 comments Download
content/browser/tab_contents/render_view_host_manager.cc View 1 2 3 4 5 6 7 13 chunks +23 lines, -18 lines 0 comments Download
M content/browser/tab_contents/render_view_host_manager_unittest.cc View 1 2 3 4 5 6 7 8 14 chunks +28 lines, -18 lines 0 comments Download
M content/browser/tab_contents/tab_contents.h View 1 2 3 4 5 chunks +10 lines, -9 lines 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 1 2 3 4 7 chunks +17 lines, -14 lines 0 comments Download
M content/browser/tab_contents/tab_contents_unittest.cc View 1 2 3 4 4 chunks +4 lines, -3 lines 0 comments Download
M content/browser/tab_contents/test_tab_contents.h View 1 2 3 4 3 chunks +11 lines, -8 lines 0 comments Download
M content/browser/tab_contents/test_tab_contents.cc View 1 2 3 4 4 chunks +7 lines, -4 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/public/browser/content_browser_client.h View 1 2 3 4 3 chunks +4 lines, -3 lines 0 comments Download
A content/public/browser/site_instance.h View 1 2 3 4 5 6 7 1 chunk +122 lines, -0 lines 0 comments Download
M content/public/browser/web_contents.h View 1 2 3 4 3 chunks +3 lines, -2 lines 0 comments Download
M content/shell/shell.h View 1 2 3 4 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
ananta
8 years, 11 months ago (2012-01-24 02:22:06 UTC) #1
jam
Thanks a lot for doing this! some nits below to make this match the Content ...
8 years, 11 months ago (2012-01-24 03:29:33 UTC) #2
ananta
http://codereview.chromium.org/9146028/diff/2015/chrome/browser/tab_contents/tab_util.cc File chrome/browser/tab_contents/tab_util.cc (right): http://codereview.chromium.org/9146028/diff/2015/chrome/browser/tab_contents/tab_util.cc#newcode17 chrome/browser/tab_contents/tab_util.cc:17: using content::WebContents; On 2012/01/24 03:29:33, John Abd-El-Malek wrote: > ...
8 years, 11 months ago (2012-01-24 23:46:26 UTC) #3
jam
lgtm with nits http://codereview.chromium.org/9146028/diff/2015/content/public/browser/site_instance.h File content/public/browser/site_instance.h (right): http://codereview.chromium.org/9146028/diff/2015/content/public/browser/site_instance.h#newcode95 content/public/browser/site_instance.h:95: static GURL GetSiteForURL(content::BrowserContext* context, const GURL& ...
8 years, 11 months ago (2012-01-25 02:02:17 UTC) #4
ananta
http://codereview.chromium.org/9146028/diff/2015/content/public/browser/site_instance.h File content/public/browser/site_instance.h (right): http://codereview.chromium.org/9146028/diff/2015/content/public/browser/site_instance.h#newcode95 content/public/browser/site_instance.h:95: static GURL GetSiteForURL(content::BrowserContext* context, const GURL& url); On 2012/01/25 ...
8 years, 11 months ago (2012-01-25 02:16:29 UTC) #5
jam
http://codereview.chromium.org/9146028/diff/11028/content/browser/site_instance_impl.h File content/browser/site_instance_impl.h (right): http://codereview.chromium.org/9146028/diff/11028/content/browser/site_instance_impl.h#newcode49 content/browser/site_instance_impl.h:49: BrowsingInstance* GetBrowsingInstance() const; On 2012/01/25 02:16:29, ananta wrote: > ...
8 years, 11 months ago (2012-01-25 02:19:37 UTC) #6
jam
lgtm, thanks
8 years, 11 months ago (2012-01-25 02:27:56 UTC) #7
Ben Goodger (Google)
rubber stamp LGTM for the bits I am owner of.
8 years, 11 months ago (2012-01-25 18:41:47 UTC) #8
dhollowa
8 years, 11 months ago (2012-01-25 19:45:06 UTC) #9
Rubber stamp LGTM for Cocoa bits.

Powered by Google App Engine
This is Rietveld 408576698