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

Unified Diff: chrome/browser/browser_process.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: Addressed final review comments 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.h
diff --git a/chrome/browser/browser_process.h b/chrome/browser/browser_process.h
index c8286bc81fb3a039139f6c513b23c6e371863aa7..3600d9854bef76fb38024b4d0791bb6db4b1aab3 100644
--- a/chrome/browser/browser_process.h
+++ b/chrome/browser/browser_process.h
@@ -46,6 +46,7 @@ class MediaFileSystemRegistry;
#if defined(OS_CHROMEOS)
namespace chromeos {
+class DeviceOAuth2TokenService;
class OomPriorityManager;
}
#endif // defined(OS_CHROMEOS)
@@ -113,6 +114,11 @@ class BrowserProcess {
#if defined(OS_CHROMEOS)
// Returns the out-of-memory priority manager.
virtual chromeos::OomPriorityManager* oom_priority_manager() = 0;
+
+ // Returns the OAuth2TokenService instance for the device-level robot
+ // account (available on enterprise-enrolled devices). Must only be called
+ // when the IO thread is available.
+ virtual chromeos::DeviceOAuth2TokenService* device_oauth2_token_service() = 0;
brettw 2013/03/28 20:18:32 We're trying to kill BrowserProcess. If your class
#endif // defined(OS_CHROMEOS)
virtual extensions::EventRouterForwarder*
« no previous file with comments | « no previous file | chrome/browser/browser_process_impl.h » ('j') | chrome/browser/chromeos/settings/device_oauth2_token_service.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698