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

Unified Diff: chrome/browser/extensions/system/system_api.h

Issue 8662008: Implement chrome.systemPrivate.getIncognitoModeAvailability extension API function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merged with ToT Created 9 years 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/system/system_api.h
diff --git a/chrome/browser/extensions/system/system_api.h b/chrome/browser/extensions/system/system_api.h
new file mode 100644
index 0000000000000000000000000000000000000000..b80f5d354db50d9d9a77a2b2a6c84b3f18beb600
--- /dev/null
+++ b/chrome/browser/extensions/system/system_api.h
@@ -0,0 +1,30 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This extension API contains system-wide preferences and functions that shall
+// be only available to component extensions.
+
+#ifndef CHROME_BROWSER_EXTENSIONS_SYSTEM_SYSTEM_API_H_
+#define CHROME_BROWSER_EXTENSIONS_SYSTEM_SYSTEM_API_H_
+
+#include "chrome/browser/extensions/extension_preference_api.h"
+
+#include <string>
+
+namespace base {
+class Value;
+}
+
+namespace extensions {
+
+class GetIncognitoModeAvailabilityFunction : public SyncExtensionFunction {
+ public:
+ virtual ~GetIncognitoModeAvailabilityFunction();
+ virtual bool RunImpl() OVERRIDE;
+ DECLARE_EXTENSION_FUNCTION_NAME("systemPrivate.getIncognitoModeAvailability")
+};
+
+} // namespace extensions
+
+#endif // CHROME_BROWSER_EXTENSIONS_SYSTEM_SYSTEM_API_H_
« no previous file with comments | « chrome/browser/extensions/extension_preference_api.cc ('k') | chrome/browser/extensions/system/system_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698