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

Unified Diff: chrome/browser/browser_process_impl.h

Issue 12647008: Refactor OAuth2TokenService to have profile- and device-based implementations. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Moved DeviceOAuth2TokenService factory method to g_browser_process Created 7 years, 9 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
Index: chrome/browser/browser_process_impl.h
diff --git a/chrome/browser/browser_process_impl.h b/chrome/browser/browser_process_impl.h
index bd43d99238b4f7f11844f79403b72c2ee3b4a7c5..4febadebeefe94eb091cf0666f87ccb7f1b47c35 100644
--- a/chrome/browser/browser_process_impl.h
+++ b/chrome/browser/browser_process_impl.h
@@ -85,6 +85,8 @@ class BrowserProcessImpl : public BrowserProcess,
virtual chrome_variations::VariationsService* variations_service() OVERRIDE;
#if defined(OS_CHROMEOS)
virtual chromeos::OomPriorityManager* oom_priority_manager() OVERRIDE;
+ virtual chromeos::DeviceOAuth2TokenService* device_oauth2_token_service()
+ OVERRIDE;
#endif // defined(OS_CHROMEOS)
virtual extensions::EventRouterForwarder*
extension_event_router_forwarder() OVERRIDE;
@@ -285,6 +287,7 @@ class BrowserProcessImpl : public BrowserProcess,
#if defined(OS_CHROMEOS)
scoped_ptr<chromeos::OomPriorityManager> oom_priority_manager_;
+ scoped_ptr<chromeos::DeviceOAuth2TokenService> device_oauth2_token_service_;
#else
scoped_ptr<ComponentUpdateService> component_updater_;

Powered by Google App Engine
This is Rietveld 408576698