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

Unified Diff: extensions/browser/extensions_browser_client.h

Issue 870163002: Move networking_private to src/extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move api_features and permissions Created 5 years, 11 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: extensions/browser/extensions_browser_client.h
diff --git a/extensions/browser/extensions_browser_client.h b/extensions/browser/extensions_browser_client.h
index abea1ce3c92f51dd304786e4257dee5869c63c2c..0cf646682a22887639c40acf6f03296fff3b8497 100644
--- a/extensions/browser/extensions_browser_client.h
+++ b/extensions/browser/extensions_browser_client.h
@@ -88,6 +88,13 @@ class ExtensionsBrowserClient {
virtual content::BrowserContext* GetOriginalContext(
content::BrowserContext* context) = 0;
+#if defined(OS_CHROMEOS)
+ // Returns a user id hash from |context| or an empty string if no hash could
+ // be extracted.
+ virtual std::string GetUserIdHashFromContext(
+ content::BrowserContext* context) = 0;
+#endif
+
// Returns true if |context| corresponds to a guest session.
virtual bool IsGuestSession(content::BrowserContext* context) const = 0;

Powered by Google App Engine
This is Rietveld 408576698