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

Unified Diff: chrome/browser/chromeos/arc/arc_auth_service.h

Issue 2149853004: arc: Implement safe access to ArcAuthService. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update browser_Tests Created 4 years, 5 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/chromeos/arc/arc_auth_service.h
diff --git a/chrome/browser/chromeos/arc/arc_auth_service.h b/chrome/browser/chromeos/arc/arc_auth_service.h
index 61c7ff19acaf72515e80ad1dcbef5ee0a0b02fc1..ff967398cfad4224a1a894cff1377171660e9e64 100644
--- a/chrome/browser/chromeos/arc/arc_auth_service.h
+++ b/chrome/browser/chromeos/arc/arc_auth_service.h
@@ -97,6 +97,7 @@ class ArcAuthService : public ArcService,
static void RegisterProfilePrefs(user_prefs::PrefRegistrySyncable* registry);
static void DisableUIForTesting();
+ static void AllowCryptohomeDataEphemeralUserForTesting();
static void SetShelfDelegateForTesting(ash::ShelfDelegate* shelf_delegate);
// Checks if OptIn verification was disabled by switch in command line.
@@ -153,6 +154,8 @@ class ArcAuthService : public ArcService,
bool IsArcManaged() const;
bool IsArcEnabled() const;
+
+ // This requires Arc to be allowed (|IsAllowed|)for current profile.
void EnableArc();
void DisableArc();
« no previous file with comments | « no previous file | chrome/browser/chromeos/arc/arc_auth_service.cc » ('j') | chrome/browser/chromeos/arc/arc_auth_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698