summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions
diff options
context:
space:
mode:
authorlevin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 19:40:50 +0000
committerlevin@chromium.org <levin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-12 19:40:50 +0000
commitf86b15aa97d6d4d94d96e3f4b503160ca40dc3e4 (patch)
tree5fa5ff29f78eb9153ee78cb62eab13e6f4a33c8b /chrome/browser/extensions
parent67650e8eb245a5145ffec08837eac0821b655569 (diff)
downloadchromium_src-f86b15aa97d6d4d94d96e3f4b503160ca40dc3e4.zip
chromium_src-f86b15aa97d6d4d94d96e3f4b503160ca40dc3e4.tar.gz
chromium_src-f86b15aa97d6d4d94d96e3f4b503160ca40dc3e4.tar.bz2
Move idle from experimental.
TEST=browser_tests.exe --gtest_filter=ExtensionApiTest.Idle BUG=None Review URL: http://codereview.chromium.org/2930001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52121 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions')
-rw-r--r--chrome/browser/extensions/extension_idle_api.h4
-rw-r--r--chrome/browser/extensions/extension_idle_api_constants.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/extensions/extension_idle_api.h b/chrome/browser/extensions/extension_idle_api.h
index 641628a..ab27ec1 100644
--- a/chrome/browser/extensions/extension_idle_api.h
+++ b/chrome/browser/extensions/extension_idle_api.h
@@ -18,11 +18,11 @@ class ExtensionIdleEventRouter {
DISALLOW_COPY_AND_ASSIGN(ExtensionIdleEventRouter);
};
-// Implementation of the chrome.experimental.idle.queryState API.
+// Implementation of the chrome.idle.queryState API.
class ExtensionIdleQueryStateFunction : public SyncExtensionFunction {
public:
virtual bool RunImpl();
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.idle.queryState")
+ DECLARE_EXTENSION_FUNCTION_NAME("idle.queryState")
};
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_IDLE_API_H_
diff --git a/chrome/browser/extensions/extension_idle_api_constants.cc b/chrome/browser/extensions/extension_idle_api_constants.cc
index 7cabe37..cf0c8e78 100644
--- a/chrome/browser/extensions/extension_idle_api_constants.cc
+++ b/chrome/browser/extensions/extension_idle_api_constants.cc
@@ -9,7 +9,7 @@ namespace extension_idle_api_constants {
const wchar_t kSecondsKey[] = L"seconds";
const wchar_t kStateKey[] = L"state";
-const char kOnStateChanged[] = "experimental.idle.onStateChanged";
+const char kOnStateChanged[] = "idle.onStateChanged";
const wchar_t kStateActive[] = L"active";
const wchar_t kStateIdle[] = L"idle";