Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(477)

Unified Diff: services/navigation/view_impl.cc

Issue 2398783002: Rename a bunch of Mojo Application stuff to reference Services. (Closed)
Patch Set: . Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « services/navigation/content_client/content_browser_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/navigation/view_impl.cc
diff --git a/services/navigation/view_impl.cc b/services/navigation/view_impl.cc
index c2d6b5e30f63a2ba92814d17a03a086b2bce8252..44f5ec79cc49e79496a91385d9d4eb3132c046d7 100644
--- a/services/navigation/view_impl.cc
+++ b/services/navigation/view_impl.cc
@@ -66,7 +66,7 @@ ViewImpl::ViewImpl(std::unique_ptr<shell::Connector> connector,
client_(std::move(client)),
ref_(std::move(ref)),
web_view_(new views::WebView(
- content::BrowserContext::GetBrowserContextForShellUserId(
+ content::BrowserContext::GetBrowserContextForServiceUserId(
client_user_id))) {
web_view_->GetWebContents()->SetDelegate(this);
const content::NavigationController* controller =
@@ -148,7 +148,7 @@ void ViewImpl::AddNewContents(content::WebContents* source,
initial_rect, user_gesture);
const std::string new_user_id =
- content::BrowserContext::GetShellUserIdFor(
+ content::BrowserContext::GetServiceUserIdFor(
new_contents->GetBrowserContext());
auto impl = base::MakeUnique<ViewImpl>(connector_->Clone(), new_user_id,
std::move(client), ref_->Clone());
« no previous file with comments | « services/navigation/content_client/content_browser_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698