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

Issue 7464009: Removal of Profile from content part 1. (Closed)

Created:
9 years, 5 months ago by Avi (use Gerrit)
Modified:
9 years, 5 months ago
CC:
chromium-reviews, tburkard+watch_chromium.org, stuartmorgan+watch_chromium.org, kinuko+watch, dhollowa, GeorgeY, cbentzel+watch_chromium.org, nkostylev+cc_chromium.org, Erik does not do reviews, achuith+watch_chromium.org, joi+watch-content_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, kkania, tbarzic+watch_chromium.org, michaeln, Aaron Boodman, dominich+watch_chromium.org, rdsmith+dwatch_chromium.org, Paweł Hajdan Jr., davemoore+watch_chromium.org
Visibility:
Public.

Description

Removal of Profile from content part 1. BUG=76788 TEST=no change visible Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=94317

Patch Set 1 #

Patch Set 2 : works now #

Total comments: 4

Patch Set 3 : browser_context #

Total comments: 25

Patch Set 4 : tweaky #

Patch Set 5 : rebase #

Patch Set 6 : rebase fix #

Total comments: 2

Patch Set 7 : slight tweaking for comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+682 lines, -454 lines) Patch
M chrome/browser/browser_about_handler.h View 1 2 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/browser_about_handler.cc View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 2 3 4 5 6 2 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 2 3 4 5 6 13 chunks +30 lines, -20 lines 0 comments Download
M chrome/browser/extensions/extension_host.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_host.cc View 1 2 3 7 chunks +17 lines, -12 lines 0 comments Download
M chrome/browser/extensions/extension_web_ui.h View 1 2 3 4 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_web_ui.cc View 1 2 3 5 chunks +13 lines, -6 lines 0 comments Download
M chrome/browser/external_tab_container_win.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/balloon_host.h View 1 2 3 4 1 chunk +16 lines, -16 lines 0 comments Download
M chrome/browser/notifications/balloon_host.cc View 1 2 3 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile.h View 1 2 3 16 chunks +26 lines, -79 lines 0 comments Download
M chrome/browser/profiles/profile.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/background_contents.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/tab_contents/background_contents.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/tab_contents/render_view_host_delegate_helper.h View 1 2 2 chunks +8 lines, -3 lines 0 comments Download
M chrome/browser/tab_contents/render_view_host_delegate_helper.cc View 1 2 3 3 chunks +13 lines, -7 lines 0 comments Download
M chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/ui/browser.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_factory.h View 1 2 1 chunk +8 lines, -5 lines 0 comments Download
chrome/browser/ui/webui/chrome_web_ui_factory.cc View 1 2 3 3 chunks +11 lines, -9 lines 0 comments Download
M chrome/browser/ui/webui/test_chrome_web_ui_factory.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/test_chrome_web_ui_factory.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/visitedlink/visitedlink_unittest.cc View 1 2 3 2 chunks +6 lines, -4 lines 0 comments Download
A content/browser/browser_context.h View 1 2 3 4 5 6 1 chunk +118 lines, -0 lines 0 comments Download
M content/browser/browser_url_handler.h View 1 2 3 3 chunks +9 lines, -4 lines 0 comments Download
M content/browser/browser_url_handler.cc View 1 2 3 4 chunks +13 lines, -9 lines 0 comments Download
M content/browser/browser_url_handler_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/browsing_instance.h View 1 2 3 5 chunks +27 lines, -15 lines 0 comments Download
M content/browser/browsing_instance.cc View 1 2 3 6 chunks +24 lines, -20 lines 0 comments Download
M content/browser/content_browser_client.h View 1 2 3 4 5 6 4 chunks +6 lines, -4 lines 0 comments Download
M content/browser/javascript_dialogs.h View 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/mock_content_browser_client.h View 1 2 3 4 5 6 2 chunks +5 lines, -3 lines 0 comments Download
M content/browser/mock_content_browser_client.cc View 1 2 3 4 5 6 2 chunks +5 lines, -4 lines 0 comments Download
M content/browser/renderer_host/browser_render_process_host.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/browser_render_process_host.cc View 1 2 3 9 chunks +40 lines, -37 lines 0 comments Download
M content/browser/renderer_host/mock_render_process_host.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/mock_render_process_host.cc View 1 2 2 chunks +8 lines, -7 lines 0 comments Download
M content/browser/renderer_host/pepper_file_message_filter.h View 1 2 3 2 chunks +5 lines, -2 lines 0 comments Download
M content/browser/renderer_host/pepper_file_message_filter.cc View 1 2 3 2 chunks +6 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_message_filter.h View 1 2 3 4 5 6 4 chunks +5 lines, -5 lines 0 comments Download
content/browser/renderer_host/render_message_filter.cc View 1 2 3 4 5 6 2 chunks +6 lines, -6 lines 0 comments Download
M content/browser/renderer_host/render_process_host.h View 1 2 3 4 5 chunks +21 lines, -10 lines 0 comments Download
M content/browser/renderer_host/render_process_host.cc View 1 2 3 4 5 5 chunks +13 lines, -11 lines 0 comments Download
M content/browser/renderer_host/render_view_host_delegate.h View 1 2 3 4 3 chunks +6 lines, -2 lines 0 comments Download
M content/browser/site_instance.h View 1 2 3 5 chunks +14 lines, -8 lines 0 comments Download
content/browser/site_instance.cc View 1 2 3 5 chunks +24 lines, -17 lines 0 comments Download
M content/browser/site_instance_unittest.cc View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
M content/browser/ssl/ssl_policy_backend.cc View 1 2 3 4 5 6 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/tab_contents/interstitial_page.h View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/tab_contents/interstitial_page.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/tab_contents/navigation_controller.h View 1 2 3 4 chunks +22 lines, -14 lines 0 comments Download
M content/browser/tab_contents/navigation_controller.cc View 1 2 3 7 chunks +9 lines, -9 lines 0 comments Download
M content/browser/tab_contents/render_view_host_manager.h View 1 2 3 2 chunks +8 lines, -5 lines 0 comments Download
M content/browser/tab_contents/render_view_host_manager.cc View 1 2 3 6 chunks +14 lines, -11 lines 0 comments Download
content/browser/tab_contents/tab_contents.h View 1 2 3 4 5 chunks +14 lines, -5 lines 0 comments Download
M content/browser/tab_contents/tab_contents.cc View 1 2 3 4 15 chunks +21 lines, -18 lines 0 comments Download
M content/browser/tab_contents/tab_contents_delegate.h View 1 2 3 3 chunks +2 lines, -2 lines 0 comments Download
content/browser/tab_contents/tab_contents_delegate.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/webui/empty_web_ui_factory.h View 1 2 3 1 chunk +8 lines, -7 lines 0 comments Download
M content/browser/webui/empty_web_ui_factory.cc View 1 2 3 2 chunks +7 lines, -6 lines 0 comments Download
M content/browser/webui/web_ui_factory.h View 1 2 3 3 chunks +6 lines, -4 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Avi (use Gerrit)
Sorry I didn't cut it off sooner. The big change is splitting BrowserContext from Profile ...
9 years, 5 months ago (2011-07-20 22:35:47 UTC) #1
jam
i think we should differentiate BrowserContext from ResourceContext by always naming the parameters/getters/variables/comments browser_context instead ...
9 years, 5 months ago (2011-07-21 16:41:54 UTC) #2
Avi (use Gerrit)
Will make the changes you suggest. Are you OK with the approach I'm taking?
9 years, 5 months ago (2011-07-21 18:04:25 UTC) #3
Avi (use Gerrit)
Issues addressed.
9 years, 5 months ago (2011-07-21 22:17:34 UTC) #4
Ilya Sherman
A couple of drive-by questions (sorry for being a bit late to jump in here) ...
9 years, 5 months ago (2011-07-21 22:29:23 UTC) #5
Avi (use Gerrit)
The cast is always safe, as the only implementation of BrowserContext is ever going to ...
9 years, 5 months ago (2011-07-22 14:56:26 UTC) #6
jam
On 2011/07/21 18:04:25, Avi wrote: > Will make the changes you suggest. Are you OK ...
9 years, 5 months ago (2011-07-22 16:32:30 UTC) #7
jam
Seeing how many casts there are, what do you think of having a static Profile* ...
9 years, 5 months ago (2011-07-22 16:58:38 UTC) #8
jam
lgtm! http://codereview.chromium.org/7464009/diff/20001/content/browser/browser_context.h File content/browser/browser_context.h (right): http://codereview.chromium.org/7464009/diff/20001/content/browser/browser_context.h#newcode5 content/browser/browser_context.h:5: // This class holds the context needed for ...
9 years, 5 months ago (2011-07-27 17:15:33 UTC) #9
Avi (use Gerrit)
Miranda: please review profile changes as OWNER http://codereview.chromium.org/7464009/diff/20001/content/browser/browser_context.h File content/browser/browser_context.h (right): http://codereview.chromium.org/7464009/diff/20001/content/browser/browser_context.h#newcode5 content/browser/browser_context.h:5: // This ...
9 years, 5 months ago (2011-07-27 17:40:10 UTC) #10
Miranda Callahan
9 years, 5 months ago (2011-07-27 17:46:13 UTC) #11
LGTM Profile changes!

On 2011/07/27 17:40:10, Avi wrote:
> Miranda: please review profile changes as OWNER
> 
>
http://codereview.chromium.org/7464009/diff/20001/content/browser/browser_con...
> File content/browser/browser_context.h (right):
> 
>
http://codereview.chromium.org/7464009/diff/20001/content/browser/browser_con...
> content/browser/browser_context.h:5: // This class holds the context needed
for
> a browsing session.
> On 2011/07/27 17:15:34, John Abd-El-Malek wrote:
> > nit: do we have a convention over whether the comment for a class is at the
> top
> > after the copyright, or right above the class name? I personally find the
> latter
> > easier to find.
> 
> Done.

Powered by Google App Engine
This is Rietveld 408576698