| Index: chrome/browser/extensions/api/power/power_api.h
|
| diff --git a/chrome/browser/chromeos/extensions/power/power_api.h b/chrome/browser/extensions/api/power/power_api.h
|
| similarity index 53%
|
| rename from chrome/browser/chromeos/extensions/power/power_api.h
|
| rename to chrome/browser/extensions/api/power/power_api.h
|
| index 1d79f8a81054cdb9f5492753c3304cbf9f3e7e80..fcde9c5f5ab8f0993e917b588e84618272ef33cd 100644
|
| --- a/chrome/browser/chromeos/extensions/power/power_api.h
|
| +++ b/chrome/browser/extensions/api/power/power_api.h
|
| @@ -2,18 +2,17 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_POWER_POWER_API_H_
|
| -#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_POWER_POWER_API_H_
|
| +#ifndef CHROME_BROWSER_EXTENSIONS_API_POWER_POWER_API_H_
|
| +#define CHROME_BROWSER_EXTENSIONS_API_POWER_POWER_API_H_
|
|
|
| #include "chrome/browser/extensions/extension_function.h"
|
|
|
| namespace extensions {
|
|
|
| -// Implementation of the chrome.experimental.power.requestKeepAwake API.
|
| +// Implementation of the chrome.power.requestKeepAwake API.
|
| class PowerRequestKeepAwakeFunction : public SyncExtensionFunction {
|
| public:
|
| - DECLARE_EXTENSION_FUNCTION("experimental.power.requestKeepAwake",
|
| - EXPERIMENTAL_POWER_REQUESTKEEPAWAKE)
|
| + DECLARE_EXTENSION_FUNCTION("power.requestKeepAwake", POWER_REQUESTKEEPAWAKE)
|
|
|
| protected:
|
| virtual ~PowerRequestKeepAwakeFunction() {}
|
| @@ -22,11 +21,10 @@ class PowerRequestKeepAwakeFunction : public SyncExtensionFunction {
|
| virtual bool RunImpl() OVERRIDE;
|
| };
|
|
|
| -// Implementation of the chrome.experimental.power.releaseKeepAwake API.
|
| +// Implementation of the chrome.power.releaseKeepAwake API.
|
| class PowerReleaseKeepAwakeFunction : public SyncExtensionFunction {
|
| public:
|
| - DECLARE_EXTENSION_FUNCTION("experimental.power.releaseKeepAwake",
|
| - EXPERIMENTAL_POWER_RELEASEKEEPAWAKE)
|
| + DECLARE_EXTENSION_FUNCTION("power.releaseKeepAwake", POWER_RELEASEKEEPAWAKE)
|
|
|
| protected:
|
| virtual ~PowerReleaseKeepAwakeFunction() {}
|
| @@ -37,4 +35,4 @@ class PowerReleaseKeepAwakeFunction : public SyncExtensionFunction {
|
|
|
| } // namespace extensions
|
|
|
| -#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_POWER_POWER_API_H_
|
| +#endif // CHROME_BROWSER_EXTENSIONS_API_POWER_POWER_API_H_
|
|
|