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

Side by Side Diff: chrome/browser/extensions/extension_managed_mode_api.h

Issue 9566007: Initial Managed Mode extension API, supporting querying the setting and a stub for enabling the mod… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Updated checkout again Created 8 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 unified diff | Download patch | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Defines the Chrome Extensions Managed Mode API relevant classes to realize
6 // the API as specified in the extension API JSON.
7
8 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGED_MODE_API_H_
9 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGED_MODE_API_H_
10 #pragma once
11
12 #include "chrome/browser/extensions/extension_function.h"
13
14 class GetManagedModeFunction : public SyncExtensionFunction {
15 public:
16 virtual ~GetManagedModeFunction();
17 virtual bool RunImpl() OVERRIDE;
18 DECLARE_EXTENSION_FUNCTION_NAME("experimental.managedMode.get")
19 };
20
21 class EnterManagedModeFunction : public SyncExtensionFunction {
22 public:
23 virtual ~EnterManagedModeFunction();
24 virtual bool RunImpl() OVERRIDE;
25 DECLARE_EXTENSION_FUNCTION_NAME("experimental.managedMode.enter")
26 };
27
28 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_MANAGED_MODE_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_function_dispatcher.cc ('k') | chrome/browser/extensions/extension_managed_mode_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698