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

Unified Diff: chrome/browser/android/blimp/blimp_client_context_factory.cc

Issue 2349073002: Blimp Settings framework on the c++ side (Closed)
Patch Set: nits and sync to head 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 | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/preferences/browser_prefs_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/blimp/blimp_client_context_factory.cc
diff --git a/chrome/browser/android/blimp/blimp_client_context_factory.cc b/chrome/browser/android/blimp/blimp_client_context_factory.cc
index c40c35f644a473f652f1ead19845703d0dc4c53c..03b42d3f889aa14f681c8cdce1ffbd607f7cce07 100644
--- a/chrome/browser/android/blimp/blimp_client_context_factory.cc
+++ b/chrome/browser/android/blimp/blimp_client_context_factory.cc
@@ -9,6 +9,7 @@
#include "blimp/client/public/blimp_client_context.h"
#include "blimp/client/public/compositor/compositor_dependencies.h"
#include "chrome/browser/android/blimp/chrome_compositor_dependencies.h"
+#include "chrome/browser/profiles/profile.h"
#include "components/keyed_service/content/browser_context_dependency_manager.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
@@ -43,7 +44,8 @@ KeyedService* BlimpClientContextFactory::BuildServiceInstanceFor(
content::BrowserThread::GetTaskRunnerForThread(
content::BrowserThread::FILE),
base::MakeUnique<ChromeCompositorDependencies>(
- ui::ContextProviderFactory::GetInstance()));
+ ui::ContextProviderFactory::GetInstance()),
+ Profile::FromBrowserContext(context)->GetPrefs());
}
content::BrowserContext* BlimpClientContextFactory::GetBrowserContextToUse(
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/preferences/browser_prefs_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698