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

Unified Diff: chrome/browser/extensions/api/developer_private/developer_private_api.h

Issue 23460005: Show modal dialog to tell users that the profile is managed when it's the case. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge. Created 7 years, 4 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/extensions/api/developer_private/developer_private_api.h
diff --git a/chrome/browser/extensions/api/developer_private/developer_private_api.h b/chrome/browser/extensions/api/developer_private/developer_private_api.h
index 1024c1196cfba33f63a842db842953103c4d01cc..c19e83a4acb3013b6e3ea588c3ba924bb3b8201f 100644
--- a/chrome/browser/extensions/api/developer_private/developer_private_api.h
+++ b/chrome/browser/extensions/api/developer_private/developer_private_api.h
@@ -349,6 +349,18 @@ class DeveloperPrivateGetStringsFunction : public SyncExtensionFunction {
virtual bool RunImpl() OVERRIDE;
};
+class DeveloperPrivateIsProfileManagedFunction : public SyncExtensionFunction {
+ public:
+ DECLARE_EXTENSION_FUNCTION("developerPrivate.isProfileManaged",
+ DEVELOPERPRIVATE_ISPROFILEMANAGED);
+
+ protected:
+ virtual ~DeveloperPrivateIsProfileManagedFunction();
+
+ // ExtensionFunction
+ virtual bool RunImpl() OVERRIDE;
+};
+
class DeveloperPrivateExportSyncfsFolderToLocalfsFunction
: public AsyncExtensionFunction {
public:
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/extensions/api/developer_private/developer_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698