summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-04 22:10:46 +0000
committerasargent@chromium.org <asargent@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-04 22:10:46 +0000
commiteb25577b3822e6bd44f3c42ff5a1ef28ada1e6dd (patch)
tree0d32cd51e6db889a5580b0fa4dfdf3e27caf66d6
parentff1d173e3ff3eddd867ed20bbef9fa2375d8580b (diff)
downloadchromium_src-eb25577b3822e6bd44f3c42ff5a1ef28ada1e6dd.zip
chromium_src-eb25577b3822e6bd44f3c42ff5a1ef28ada1e6dd.tar.gz
chromium_src-eb25577b3822e6bd44f3c42ff5a1ef28ada1e6dd.tar.bz2
Relanding "Take extension 'management' API out of experimental."
This includes the original code plus changes to 2 new files to fix a test that was failing: chrome/browser/resources/webstore_app/manifest.json chrome/test/data/extensions/api_test/extension_gallery_install/test.html Original review url was: http://codereview.chromium.org/3537010 BUG=56399 TEST=You should be able to write an extension using the management API. TBR=aa@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61422 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/app/generated_resources.grd3
-rw-r--r--chrome/browser/extensions/extension_event_names.cc8
-rw-r--r--chrome/browser/extensions/extension_management_api.h8
-rw-r--r--chrome/browser/extensions/extension_management_api_browsertest.cc10
-rw-r--r--chrome/browser/extensions/extension_management_apitest.cc9
-rw-r--r--chrome/browser/resources/webstore_app/manifest.json2
-rw-r--r--chrome/common/extensions/api/extension_api.json2
-rw-r--r--chrome/common/extensions/docs/a11y.html1
-rw-r--r--chrome/common/extensions/docs/api_index.html3
-rw-r--r--chrome/common/extensions/docs/api_other.html1
-rw-r--r--chrome/common/extensions/docs/autoupdate.html1
-rw-r--r--chrome/common/extensions/docs/background_pages.html1
-rw-r--r--chrome/common/extensions/docs/bookmarks.html1
-rw-r--r--chrome/common/extensions/docs/browserAction.html1
-rw-r--r--chrome/common/extensions/docs/content_scripts.html1
-rw-r--r--chrome/common/extensions/docs/contextMenus.html1
-rw-r--r--chrome/common/extensions/docs/cookies.html1
-rw-r--r--chrome/common/extensions/docs/devguide.html1
-rw-r--r--chrome/common/extensions/docs/docs.html1
-rw-r--r--chrome/common/extensions/docs/events.html1
-rw-r--r--chrome/common/extensions/docs/experimental.clipboard.html1
-rw-r--r--chrome/common/extensions/docs/experimental.contextMenus.html1
-rw-r--r--chrome/common/extensions/docs/experimental.cookies.html1
-rw-r--r--chrome/common/extensions/docs/experimental.history.html1
-rw-r--r--chrome/common/extensions/docs/experimental.html2
-rw-r--r--chrome/common/extensions/docs/experimental.idle.html1
-rw-r--r--chrome/common/extensions/docs/experimental.infobars.html1
-rw-r--r--chrome/common/extensions/docs/experimental.omnibox.html1
-rw-r--r--chrome/common/extensions/docs/experimental.processes.html1
-rw-r--r--chrome/common/extensions/docs/experimental.proxy.html1
-rw-r--r--chrome/common/extensions/docs/experimental.sidebar.html1
-rw-r--r--chrome/common/extensions/docs/experimental.webNavigation.html1
-rw-r--r--chrome/common/extensions/docs/experimental.webRequest.html1
-rw-r--r--chrome/common/extensions/docs/extension.html1
-rw-r--r--chrome/common/extensions/docs/external_extensions.html1
-rw-r--r--chrome/common/extensions/docs/faq.html1
-rw-r--r--chrome/common/extensions/docs/getstarted.html1
-rw-r--r--chrome/common/extensions/docs/history.html1
-rw-r--r--chrome/common/extensions/docs/hosting.html1
-rw-r--r--chrome/common/extensions/docs/i18n-messages.html1
-rw-r--r--chrome/common/extensions/docs/i18n.html1
-rw-r--r--chrome/common/extensions/docs/idle.html1
-rw-r--r--chrome/common/extensions/docs/index.html1
-rw-r--r--chrome/common/extensions/docs/management.html (renamed from chrome/common/extensions/docs/experimental.management.html)47
-rw-r--r--chrome/common/extensions/docs/manifest.html1
-rw-r--r--chrome/common/extensions/docs/match_patterns.html3
-rw-r--r--chrome/common/extensions/docs/messaging.html1
-rw-r--r--chrome/common/extensions/docs/notifications.html1
-rw-r--r--chrome/common/extensions/docs/npapi.html1
-rw-r--r--chrome/common/extensions/docs/options.html1
-rw-r--r--chrome/common/extensions/docs/override.html1
-rw-r--r--chrome/common/extensions/docs/overview.html1
-rw-r--r--chrome/common/extensions/docs/packaging.html1
-rw-r--r--chrome/common/extensions/docs/pageAction.html1
-rw-r--r--chrome/common/extensions/docs/samples.html3
-rw-r--r--chrome/common/extensions/docs/samples.json16
-rw-r--r--chrome/common/extensions/docs/static/experimental.management.html2
-rw-r--r--chrome/common/extensions/docs/static/management.html6
-rw-r--r--chrome/common/extensions/docs/tabs.html1
-rw-r--r--chrome/common/extensions/docs/template/api_template.html1
-rw-r--r--chrome/common/extensions/docs/themes.html1
-rw-r--r--chrome/common/extensions/docs/tut_analytics.html1
-rw-r--r--chrome/common/extensions/docs/tut_debugging.html1
-rw-r--r--chrome/common/extensions/docs/tut_oauth.html1
-rw-r--r--chrome/common/extensions/docs/tutorials.html1
-rw-r--r--chrome/common/extensions/docs/whats_new.html1
-rw-r--r--chrome/common/extensions/docs/windows.html1
-rw-r--r--chrome/common/extensions/docs/xhr.html1
-rw-r--r--chrome/common/extensions/extension.cc2
-rw-r--r--chrome/common/extensions/extension.h1
-rw-r--r--chrome/renderer/resources/renderer_extension_bindings.js2
-rw-r--r--chrome/test/data/extensions/api_test/extension_gallery_install/test.html8
-rw-r--r--chrome/test/data/extensions/api_test/management/test/common.js4
-rw-r--r--chrome/test/data/extensions/api_test/management/test/manifest.json2
-rw-r--r--chrome/test/data/extensions/management/install_event/manifest.json2
-rw-r--r--chrome/test/data/extensions/management/install_event/test.js4
-rw-r--r--chrome/test/data/extensions/management/launch_app/manifest.json2
-rw-r--r--chrome/test/data/extensions/management/launch_app/test.js4
78 files changed, 126 insertions, 82 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 8932a72..be6a1a6 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -3481,6 +3481,9 @@ each locale. -->
<message name="IDS_EXTENSION_PROMPT2_WARNING_GEOLOCATION" desc="Permisson string for access to geolocation.">
Your physical location
</message>
+ <message name="IDS_EXTENSION_PROMPT2_WARNING_MANAGEMENT" desc="Permisson string for access to extension management.">
+ Manage themes, extensions, and apps
+ </message>
<!-- Extension error messages -->
<message name="IDS_EXTENSION_DIRECTORY_NO_EXISTS" desc="Warning displayed in pack dialog when the extension directory does not exist.">
diff --git a/chrome/browser/extensions/extension_event_names.cc b/chrome/browser/extensions/extension_event_names.cc
index a70f293..a9b0e2f 100644
--- a/chrome/browser/extensions/extension_event_names.cc
+++ b/chrome/browser/extensions/extension_event_names.cc
@@ -18,9 +18,9 @@ const char kOnWindowCreated[] = "windows.onCreated";
const char kOnWindowFocusedChanged[] = "windows.onFocusChanged";
const char kOnWindowRemoved[] = "windows.onRemoved";
-const char kOnExtensionInstalled[] = "experimental.management.onInstalled";
-const char kOnExtensionUninstalled[] = "experimental.management.onUninstalled";
-const char kOnExtensionEnabled[] = "experimental.management.onEnabled";
-const char kOnExtensionDisabled[] = "experimental.management.onDisabled";
+const char kOnExtensionInstalled[] = "management.onInstalled";
+const char kOnExtensionUninstalled[] = "management.onUninstalled";
+const char kOnExtensionEnabled[] = "management.onEnabled";
+const char kOnExtensionDisabled[] = "management.onDisabled";
} // namespace extension_event_names
diff --git a/chrome/browser/extensions/extension_management_api.h b/chrome/browser/extensions/extension_management_api.h
index 4109886..3176aef 100644
--- a/chrome/browser/extensions/extension_management_api.h
+++ b/chrome/browser/extensions/extension_management_api.h
@@ -21,25 +21,25 @@ class ExtensionManagementFunction : public SyncExtensionFunction {
class GetAllExtensionsFunction : public ExtensionManagementFunction {
~GetAllExtensionsFunction() {}
virtual bool RunImpl();
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.management.getAll");
+ DECLARE_EXTENSION_FUNCTION_NAME("management.getAll");
};
class LaunchAppFunction : public ExtensionManagementFunction {
~LaunchAppFunction() {}
virtual bool RunImpl();
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.management.launchApp");
+ DECLARE_EXTENSION_FUNCTION_NAME("management.launchApp");
};
class SetEnabledFunction : public ExtensionManagementFunction {
~SetEnabledFunction() {}
virtual bool RunImpl();
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.management.setEnabled");
+ DECLARE_EXTENSION_FUNCTION_NAME("management.setEnabled");
};
class UninstallFunction : public ExtensionManagementFunction {
~UninstallFunction() {}
virtual bool RunImpl();
- DECLARE_EXTENSION_FUNCTION_NAME("experimental.management.uninstall");
+ DECLARE_EXTENSION_FUNCTION_NAME("management.uninstall");
};
class ExtensionManagementEventRouter : public NotificationObserver {
diff --git a/chrome/browser/extensions/extension_management_api_browsertest.cc b/chrome/browser/extensions/extension_management_api_browsertest.cc
index 643072d..7061637 100644
--- a/chrome/browser/extensions/extension_management_api_browsertest.cc
+++ b/chrome/browser/extensions/extension_management_api_browsertest.cc
@@ -4,16 +4,8 @@
#include "chrome/browser/extensions/extension_browsertest.h"
#include "chrome/browser/extensions/extension_test_message_listener.h"
-#include "chrome/common/chrome_switches.h"
-
-class ExtensionManagementApiBrowserTest : public ExtensionBrowserTest {
- virtual void SetUpCommandLine(CommandLine* command_line) {
- ExtensionBrowserTest::SetUpCommandLine(command_line);
- command_line->AppendSwitch(
- switches::kEnableExperimentalExtensionApis);
- }
-};
+class ExtensionManagementApiBrowserTest : public ExtensionBrowserTest {};
// We test this here instead of in an ExtensionApiTest because normal extensions
// are not allowed to call the install function.
diff --git a/chrome/browser/extensions/extension_management_apitest.cc b/chrome/browser/extensions/extension_management_apitest.cc
index 8d734cf..75b0880 100644
--- a/chrome/browser/extensions/extension_management_apitest.cc
+++ b/chrome/browser/extensions/extension_management_apitest.cc
@@ -2,22 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "base/command_line.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/extensions/extension_apitest.h"
#include "chrome/browser/extensions/extensions_service.h"
#include "chrome/browser/profile.h"
-#include "chrome/common/chrome_switches.h"
class ExtensionManagementApiTest : public ExtensionApiTest {
public:
-
- virtual void SetUpCommandLine(CommandLine* command_line) {
- ExtensionApiTest::SetUpCommandLine(command_line);
- command_line->AppendSwitch(
- switches::kEnableExperimentalExtensionApis);
- }
-
virtual void InstallExtensions() {
FilePath basedir = test_data_dir_.AppendASCII("management");
diff --git a/chrome/browser/resources/webstore_app/manifest.json b/chrome/browser/resources/webstore_app/manifest.json
index 6373b5f..a56d574 100644
--- a/chrome/browser/resources/webstore_app/manifest.json
+++ b/chrome/browser/resources/webstore_app/manifest.json
@@ -18,6 +18,6 @@
},
"permissions": [
"webstorePrivate",
- "experimental"
+ "management"
]
}
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index a566716d..732f417 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -3915,7 +3915,7 @@
]
},
{
- "namespace":"experimental.management",
+ "namespace":"management",
"types": [
{
"id": "IconInfo",
diff --git a/chrome/common/extensions/docs/a11y.html b/chrome/common/extensions/docs/a11y.html
index 92c6f6b..7447813 100644
--- a/chrome/common/extensions/docs/a11y.html
+++ b/chrome/common/extensions/docs/a11y.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/api_index.html b/chrome/common/extensions/docs/api_index.html
index ac8d54c..46ddd6e 100644
--- a/chrome/common/extensions/docs/api_index.html
+++ b/chrome/common/extensions/docs/api_index.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
@@ -318,7 +319,7 @@ Here are the supported chrome.* APIs:
</p>
<ul>
- <li><a href="bookmarks.html" js="">bookmarks</a></li><li><a href="browserAction.html" js="">browserAction</a></li><li><a href="contextMenus.html" js="">contextMenus</a></li><li><a href="cookies.html" js="">cookies</a></li><li><a href="extension.html" js="">extension</a></li><li><a href="history.html" js="">history</a></li><li><a href="i18n.html" js="">i18n</a></li><li><a href="idle.html" js="">idle</a></li><li><a href="pageAction.html" js="">pageAction</a></li><li><a href="tabs.html" js="">tabs</a></li><li><a href="windows.html" js="">windows</a></li>
+ <li><a href="bookmarks.html" js="">bookmarks</a></li><li><a href="browserAction.html" js="">browserAction</a></li><li><a href="contextMenus.html" js="">contextMenus</a></li><li><a href="cookies.html" js="">cookies</a></li><li><a href="extension.html" js="">extension</a></li><li><a href="history.html" js="">history</a></li><li><a href="i18n.html" js="">i18n</a></li><li><a href="idle.html" js="">idle</a></li><li><a href="management.html" js="">management</a></li><li><a href="pageAction.html" js="">pageAction</a></li><li><a href="tabs.html" js="">tabs</a></li><li><a href="windows.html" js="">windows</a></li>
</ul>
<h2 id="experimental">Experimental APIs</h2>
diff --git a/chrome/common/extensions/docs/api_other.html b/chrome/common/extensions/docs/api_other.html
index 3b1f2bb..c1ef26b 100644
--- a/chrome/common/extensions/docs/api_other.html
+++ b/chrome/common/extensions/docs/api_other.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/autoupdate.html b/chrome/common/extensions/docs/autoupdate.html
index 3ea1162..f474abb 100644
--- a/chrome/common/extensions/docs/autoupdate.html
+++ b/chrome/common/extensions/docs/autoupdate.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/background_pages.html b/chrome/common/extensions/docs/background_pages.html
index be3085a..5227b51 100644
--- a/chrome/common/extensions/docs/background_pages.html
+++ b/chrome/common/extensions/docs/background_pages.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/bookmarks.html b/chrome/common/extensions/docs/bookmarks.html
index 2d99ba5..8283626 100644
--- a/chrome/common/extensions/docs/bookmarks.html
+++ b/chrome/common/extensions/docs/bookmarks.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/browserAction.html b/chrome/common/extensions/docs/browserAction.html
index ce1b362..77c2b6c 100644
--- a/chrome/common/extensions/docs/browserAction.html
+++ b/chrome/common/extensions/docs/browserAction.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/content_scripts.html b/chrome/common/extensions/docs/content_scripts.html
index d15aa5b..7d48d56 100644
--- a/chrome/common/extensions/docs/content_scripts.html
+++ b/chrome/common/extensions/docs/content_scripts.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/contextMenus.html b/chrome/common/extensions/docs/contextMenus.html
index 919e449..a7b2cdb 100644
--- a/chrome/common/extensions/docs/contextMenus.html
+++ b/chrome/common/extensions/docs/contextMenus.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/cookies.html b/chrome/common/extensions/docs/cookies.html
index 12278d9..ea79e4c 100644
--- a/chrome/common/extensions/docs/cookies.html
+++ b/chrome/common/extensions/docs/cookies.html
@@ -177,6 +177,7 @@
<li class="leftNavSelected">Cookies</li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/devguide.html b/chrome/common/extensions/docs/devguide.html
index 86c56ef..e5a801b 100644
--- a/chrome/common/extensions/docs/devguide.html
+++ b/chrome/common/extensions/docs/devguide.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/docs.html b/chrome/common/extensions/docs/docs.html
index abc9102..2a81648 100644
--- a/chrome/common/extensions/docs/docs.html
+++ b/chrome/common/extensions/docs/docs.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/events.html b/chrome/common/extensions/docs/events.html
index ad86e44..7fbf71e 100644
--- a/chrome/common/extensions/docs/events.html
+++ b/chrome/common/extensions/docs/events.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li class="leftNavSelected">Events</li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/experimental.clipboard.html b/chrome/common/extensions/docs/experimental.clipboard.html
index f159755..0bf145d 100644
--- a/chrome/common/extensions/docs/experimental.clipboard.html
+++ b/chrome/common/extensions/docs/experimental.clipboard.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/experimental.contextMenus.html b/chrome/common/extensions/docs/experimental.contextMenus.html
index aec0f4f..db22bb4 100644
--- a/chrome/common/extensions/docs/experimental.contextMenus.html
+++ b/chrome/common/extensions/docs/experimental.contextMenus.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/experimental.cookies.html b/chrome/common/extensions/docs/experimental.cookies.html
index 8694366..1eaeee9 100644
--- a/chrome/common/extensions/docs/experimental.cookies.html
+++ b/chrome/common/extensions/docs/experimental.cookies.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/experimental.history.html b/chrome/common/extensions/docs/experimental.history.html
index f1db1ad..5b1b412 100644
--- a/chrome/common/extensions/docs/experimental.history.html
+++ b/chrome/common/extensions/docs/experimental.history.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/experimental.html b/chrome/common/extensions/docs/experimental.html
index b5a7420..08480af 100644
--- a/chrome/common/extensions/docs/experimental.html
+++ b/chrome/common/extensions/docs/experimental.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
@@ -299,7 +300,6 @@ on the following experimental APIs:
<li>
<a href="experimental.clipboard.html">experimental.clipboard</a></li><li>
<a href="experimental.infobars.html">experimental.infobars</a></li><li>
- <a href="experimental.management.html">experimental.management</a></li><li>
<a href="experimental.omnibox.html">experimental.omnibox</a></li><li>
<a href="experimental.processes.html">experimental.processes</a></li><li>
<a href="experimental.proxy.html">experimental.proxy</a></li><li>
diff --git a/chrome/common/extensions/docs/experimental.idle.html b/chrome/common/extensions/docs/experimental.idle.html
index 4c14a2f..d7b2d80 100644
--- a/chrome/common/extensions/docs/experimental.idle.html
+++ b/chrome/common/extensions/docs/experimental.idle.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/experimental.infobars.html b/chrome/common/extensions/docs/experimental.infobars.html
index cd72c10..97d859d 100644
--- a/chrome/common/extensions/docs/experimental.infobars.html
+++ b/chrome/common/extensions/docs/experimental.infobars.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/experimental.omnibox.html b/chrome/common/extensions/docs/experimental.omnibox.html
index 9d037b3..995f838 100644
--- a/chrome/common/extensions/docs/experimental.omnibox.html
+++ b/chrome/common/extensions/docs/experimental.omnibox.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/experimental.processes.html b/chrome/common/extensions/docs/experimental.processes.html
index 0a3f3dc..5e0fbc9 100644
--- a/chrome/common/extensions/docs/experimental.processes.html
+++ b/chrome/common/extensions/docs/experimental.processes.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/experimental.proxy.html b/chrome/common/extensions/docs/experimental.proxy.html
index c392afe..57d48f5 100644
--- a/chrome/common/extensions/docs/experimental.proxy.html
+++ b/chrome/common/extensions/docs/experimental.proxy.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/experimental.sidebar.html b/chrome/common/extensions/docs/experimental.sidebar.html
index fb092eb..eb9493b 100644
--- a/chrome/common/extensions/docs/experimental.sidebar.html
+++ b/chrome/common/extensions/docs/experimental.sidebar.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/experimental.webNavigation.html b/chrome/common/extensions/docs/experimental.webNavigation.html
index b71aac33..8ab76fc 100644
--- a/chrome/common/extensions/docs/experimental.webNavigation.html
+++ b/chrome/common/extensions/docs/experimental.webNavigation.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/experimental.webRequest.html b/chrome/common/extensions/docs/experimental.webRequest.html
index 45f8d34..9615bcc 100644
--- a/chrome/common/extensions/docs/experimental.webRequest.html
+++ b/chrome/common/extensions/docs/experimental.webRequest.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/extension.html b/chrome/common/extensions/docs/extension.html
index 593984f..b361568 100644
--- a/chrome/common/extensions/docs/extension.html
+++ b/chrome/common/extensions/docs/extension.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/external_extensions.html b/chrome/common/extensions/docs/external_extensions.html
index 357da72..6bf9e4f 100644
--- a/chrome/common/extensions/docs/external_extensions.html
+++ b/chrome/common/extensions/docs/external_extensions.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/faq.html b/chrome/common/extensions/docs/faq.html
index f6cc0d3..94ec93b 100644
--- a/chrome/common/extensions/docs/faq.html
+++ b/chrome/common/extensions/docs/faq.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/getstarted.html b/chrome/common/extensions/docs/getstarted.html
index ceacddf..a3a10fc 100644
--- a/chrome/common/extensions/docs/getstarted.html
+++ b/chrome/common/extensions/docs/getstarted.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/history.html b/chrome/common/extensions/docs/history.html
index 6a629ba..41b93ab 100644
--- a/chrome/common/extensions/docs/history.html
+++ b/chrome/common/extensions/docs/history.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li class="leftNavSelected">History</li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/hosting.html b/chrome/common/extensions/docs/hosting.html
index 85ed1867..20267e7 100644
--- a/chrome/common/extensions/docs/hosting.html
+++ b/chrome/common/extensions/docs/hosting.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/i18n-messages.html b/chrome/common/extensions/docs/i18n-messages.html
index d2f0f6b..7ff4c33 100644
--- a/chrome/common/extensions/docs/i18n-messages.html
+++ b/chrome/common/extensions/docs/i18n-messages.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/i18n.html b/chrome/common/extensions/docs/i18n.html
index 7ce891d..3b5c702 100644
--- a/chrome/common/extensions/docs/i18n.html
+++ b/chrome/common/extensions/docs/i18n.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/idle.html b/chrome/common/extensions/docs/idle.html
index 1a2dedc..2fd5dd8 100644
--- a/chrome/common/extensions/docs/idle.html
+++ b/chrome/common/extensions/docs/idle.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/index.html b/chrome/common/extensions/docs/index.html
index 5b27cbf..826d74b 100644
--- a/chrome/common/extensions/docs/index.html
+++ b/chrome/common/extensions/docs/index.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/experimental.management.html b/chrome/common/extensions/docs/management.html
index 5f316c9..8fb7add 100644
--- a/chrome/common/extensions/docs/experimental.management.html
+++ b/chrome/common/extensions/docs/management.html
@@ -15,7 +15,7 @@
</script>
<script type="text/javascript" src="js/api_page_generator.js"></script>
<script type="text/javascript" src="js/bootstrap.js"></script>
- <title>chrome.experimental.management - Google Chrome Extensions - Google Code</title></head>
+ <title>Management - Google Chrome Extensions - Google Code</title></head>
<body> <div id="gc-container" class="labs">
<div id="devModeWarning">
You are viewing extension docs in chrome via the 'file:' scheme: are you expecting to see local changes when you refresh? You'll need run chrome with --allow-file-access-from-files.
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li class="leftNavSelected">Management</li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
@@ -227,7 +228,7 @@
<div class="g-unit" id="gc-pagecontent">
<div id="pageTitle">
- <h1 class="page_title">chrome.experimental.management</h1>
+ <h1 class="page_title">Management</h1>
</div>
<!-- TABLE OF CONTENTS -->
<div id="toc">
@@ -242,7 +243,7 @@
</ol>
</li>
<li>
- <a href="#apiReference">API reference: chrome.experimental.management</a>
+ <a href="#apiReference">API reference: chrome.management</a>
<ol>
<li style="display: none; ">
<a href="#properties">Properties</a>
@@ -297,19 +298,23 @@
<!-- /TABLE OF CONTENTS -->
<!-- Standard content lead-in for experimental API pages -->
- <p id="classSummary">
+ <p id="classSummary" style="display: none; ">
For information on how to use experimental APIs, see the <a href="experimental.html">chrome.experimental.* APIs</a> page.
</p>
<!-- STATIC CONTENT PLACEHOLDER -->
- <div id="static"><!-- BEGIN AUTHORED CONTENT -->
+ <div id="static"><div id="pageData-name" class="pageData">Management</div>
+<!-- BEGIN AUTHORED CONTENT -->
+<p id="classSummary">
+The <code>chrome.management</code> module provides ways to manage the list of extensions/apps that are installed and running. It is particularly useful for extensions that <a href="override.html">override</a> the built-in New Tab page.
+</p>
<!-- END AUTHORED CONTENT -->
</div>
<!-- API PAGE -->
<div class="apiPage">
<a name="apiReference"></a>
- <h2>API reference: chrome.experimental.management</h2>
+ <h2>API reference: chrome.management</h2>
<!-- PROPERTIES -->
<div class="apiGroup" style="display: none; ">
@@ -341,7 +346,7 @@
<div class="summary"><span style="display: none; ">void</span>
<!-- Note: intentionally longer 80 columns -->
- <span>chrome.experimental.management.getAll</span>(<span class="optional"><span style="display: none; ">, </span><span>function</span>
+ <span>chrome.management.getAll</span>(<span class="optional"><span style="display: none; ">, </span><span>function</span>
<var><span>callback</span></var></span>)</div>
<div class="description">
@@ -458,7 +463,7 @@
<span>
array of <span><span>
<span>
- <a href="experimental.management.html#type-ExtensionInfo">ExtensionInfo</a>
+ <a href="management.html#type-ExtensionInfo">ExtensionInfo</a>
</span>
<span style="display: none; ">
<span>
@@ -530,7 +535,7 @@
<div class="summary"><span style="display: none; ">void</span>
<!-- Note: intentionally longer 80 columns -->
- <span>chrome.experimental.management.launchApp</span>(<span class="null"><span style="display: none; ">, </span><span>string</span>
+ <span>chrome.management.launchApp</span>(<span class="null"><span style="display: none; ">, </span><span>string</span>
<var><span>id</span></var></span><span class="optional"><span>, </span><span>function</span>
<var><span>callback</span></var></span>)</div>
@@ -710,7 +715,7 @@
<div class="summary"><span style="display: none; ">void</span>
<!-- Note: intentionally longer 80 columns -->
- <span>chrome.experimental.management.setEnabled</span>(<span class="null"><span style="display: none; ">, </span><span>string</span>
+ <span>chrome.management.setEnabled</span>(<span class="null"><span style="display: none; ">, </span><span>string</span>
<var><span>id</span></var></span><span class="null"><span>, </span><span>boolean</span>
<var><span>enabled</span></var></span><span class="optional"><span>, </span><span>function</span>
<var><span>callback</span></var></span>)</div>
@@ -753,7 +758,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>This should be the id from an item of <a href="experimental.management.html#type-ExtensionInfo">ExtensionInfo</a>.</dd>
+ <dd>This should be the id from an item of <a href="management.html#type-ExtensionInfo">ExtensionInfo</a>.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -949,7 +954,7 @@
<div class="summary"><span style="display: none; ">void</span>
<!-- Note: intentionally longer 80 columns -->
- <span>chrome.experimental.management.uninstall</span>(<span class="null"><span style="display: none; ">, </span><span>string</span>
+ <span>chrome.management.uninstall</span>(<span class="null"><span style="display: none; ">, </span><span>string</span>
<var><span>id</span></var></span><span class="optional"><span>, </span><span>function</span>
<var><span>callback</span></var></span>)</div>
@@ -991,7 +996,7 @@
<dd class="todo" style="display: none; ">
Undocumented.
</dd>
- <dd>This should be the id from an item of <a href="experimental.management.html#type-ExtensionInfo">ExtensionInfo</a>.</dd>
+ <dd>This should be the id from an item of <a href="management.html#type-ExtensionInfo">ExtensionInfo</a>.</dd>
<dd style="display: none; ">
This parameter was added in version
<b><span></span></b>.
@@ -1139,7 +1144,7 @@
<div class="summary">
<!-- Note: intentionally longer 80 columns -->
- <span class="subdued">chrome.experimental.management.</span><span>onDisabled</span><span class="subdued">.addListener</span>(function(<span>ExtensionInfo info</span>) <span class="subdued">{...}</span>);
+ <span class="subdued">chrome.management.</span><span>onDisabled</span><span class="subdued">.addListener</span>(function(<span>ExtensionInfo info</span>) <span class="subdued">{...}</span>);
</div>
<div class="description">
@@ -1162,7 +1167,7 @@
<span class="enum" style="display: none; ">enumerated</span>
<span id="typeTemplate">
<span>
- <a href="experimental.management.html#type-ExtensionInfo">ExtensionInfo</a>
+ <a href="management.html#type-ExtensionInfo">ExtensionInfo</a>
</span>
<span style="display: none; ">
<span>
@@ -1220,7 +1225,7 @@
<div class="summary">
<!-- Note: intentionally longer 80 columns -->
- <span class="subdued">chrome.experimental.management.</span><span>onEnabled</span><span class="subdued">.addListener</span>(function(<span>ExtensionInfo info</span>) <span class="subdued">{...}</span>);
+ <span class="subdued">chrome.management.</span><span>onEnabled</span><span class="subdued">.addListener</span>(function(<span>ExtensionInfo info</span>) <span class="subdued">{...}</span>);
</div>
<div class="description">
@@ -1243,7 +1248,7 @@
<span class="enum" style="display: none; ">enumerated</span>
<span id="typeTemplate">
<span>
- <a href="experimental.management.html#type-ExtensionInfo">ExtensionInfo</a>
+ <a href="management.html#type-ExtensionInfo">ExtensionInfo</a>
</span>
<span style="display: none; ">
<span>
@@ -1301,7 +1306,7 @@
<div class="summary">
<!-- Note: intentionally longer 80 columns -->
- <span class="subdued">chrome.experimental.management.</span><span>onInstalled</span><span class="subdued">.addListener</span>(function(<span>ExtensionInfo info</span>) <span class="subdued">{...}</span>);
+ <span class="subdued">chrome.management.</span><span>onInstalled</span><span class="subdued">.addListener</span>(function(<span>ExtensionInfo info</span>) <span class="subdued">{...}</span>);
</div>
<div class="description">
@@ -1324,7 +1329,7 @@
<span class="enum" style="display: none; ">enumerated</span>
<span id="typeTemplate">
<span>
- <a href="experimental.management.html#type-ExtensionInfo">ExtensionInfo</a>
+ <a href="management.html#type-ExtensionInfo">ExtensionInfo</a>
</span>
<span style="display: none; ">
<span>
@@ -1382,7 +1387,7 @@
<div class="summary">
<!-- Note: intentionally longer 80 columns -->
- <span class="subdued">chrome.experimental.management.</span><span>onUninstalled</span><span class="subdued">.addListener</span>(function(<span>string id</span>) <span class="subdued">{...}</span>);
+ <span class="subdued">chrome.management.</span><span>onUninstalled</span><span class="subdued">.addListener</span>(function(<span>string id</span>) <span class="subdued">{...}</span>);
</div>
<div class="description">
@@ -2113,7 +2118,7 @@
<span>
array of <span><span>
<span>
- <a href="experimental.management.html#type-IconInfo">IconInfo</a>
+ <a href="management.html#type-IconInfo">IconInfo</a>
</span>
<span style="display: none; ">
<span>
diff --git a/chrome/common/extensions/docs/manifest.html b/chrome/common/extensions/docs/manifest.html
index 07a06d0..d8bd4f4 100644
--- a/chrome/common/extensions/docs/manifest.html
+++ b/chrome/common/extensions/docs/manifest.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/match_patterns.html b/chrome/common/extensions/docs/match_patterns.html
index 0965342..5e511b3 100644
--- a/chrome/common/extensions/docs/match_patterns.html
+++ b/chrome/common/extensions/docs/match_patterns.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
@@ -495,7 +496,7 @@ Here are some examples of <em>invalid</em> pattern matches:
</tr>
<tr>
- <td><code>http://*</code></td>
+ <td><code>http://www.google.com</code></td>
<td>No <em>path</em></td>
</tr>
diff --git a/chrome/common/extensions/docs/messaging.html b/chrome/common/extensions/docs/messaging.html
index 6cc3bd7..120a03c 100644
--- a/chrome/common/extensions/docs/messaging.html
+++ b/chrome/common/extensions/docs/messaging.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/notifications.html b/chrome/common/extensions/docs/notifications.html
index 9e95058..fd0567a 100644
--- a/chrome/common/extensions/docs/notifications.html
+++ b/chrome/common/extensions/docs/notifications.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/npapi.html b/chrome/common/extensions/docs/npapi.html
index be509e5..5190257 100644
--- a/chrome/common/extensions/docs/npapi.html
+++ b/chrome/common/extensions/docs/npapi.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/options.html b/chrome/common/extensions/docs/options.html
index 000a81b..94dbfcf 100644
--- a/chrome/common/extensions/docs/options.html
+++ b/chrome/common/extensions/docs/options.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/override.html b/chrome/common/extensions/docs/override.html
index bb2253a..d1236c9 100644
--- a/chrome/common/extensions/docs/override.html
+++ b/chrome/common/extensions/docs/override.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/overview.html b/chrome/common/extensions/docs/overview.html
index 66ec6eb..2d9f9a1 100644
--- a/chrome/common/extensions/docs/overview.html
+++ b/chrome/common/extensions/docs/overview.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/packaging.html b/chrome/common/extensions/docs/packaging.html
index 79d8d7f..5cbc1cc 100644
--- a/chrome/common/extensions/docs/packaging.html
+++ b/chrome/common/extensions/docs/packaging.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/pageAction.html b/chrome/common/extensions/docs/pageAction.html
index a012cfb..9bd9388 100644
--- a/chrome/common/extensions/docs/pageAction.html
+++ b/chrome/common/extensions/docs/pageAction.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/samples.html b/chrome/common/extensions/docs/samples.html
index 6882945..385b931 100644
--- a/chrome/common/extensions/docs/samples.html
+++ b/chrome/common/extensions/docs/samples.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
@@ -323,6 +324,8 @@
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.idle', this)">chrome.idle</a><span>, </span>
</span><span>
+ <a href="javascript:void(0);" onclick="setFilter('chrome.management', this)">chrome.management</a><span>, </span>
+ </span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.pageAction', this)">chrome.pageAction</a><span>, </span>
</span><span>
<a href="javascript:void(0);" onclick="setFilter('chrome.tabs', this)">chrome.tabs</a><span>, </span>
diff --git a/chrome/common/extensions/docs/samples.json b/chrome/common/extensions/docs/samples.json
index f86db3f..9dd8085 100644
--- a/chrome/common/extensions/docs/samples.json
+++ b/chrome/common/extensions/docs/samples.json
@@ -22,10 +22,8 @@
"chrome.extension.sendRequest": "extension.html#method-sendRequest",
"chrome.windows.getAll": "windows.html#method-getAll",
"chrome.tabs.captureVisibleTab": "tabs.html#method-captureVisibleTab",
- "chrome.experimental.management.onUninstalled": "experimental.management.html#event-onUninstalled",
"chrome.idle.onStateChanged": "idle.html#event-onStateChanged",
"chrome.i18n.getMessage": "i18n.html#method-getMessage",
- "chrome.experimental.management.onEnabled": "experimental.management.html#event-onEnabled",
"chrome.bookmarks.import": "bookmarks.html#method-import",
"chrome.extension.onConnect": "extension.html#event-onConnect",
"chrome.bookmarks.removeTree": "bookmarks.html#method-removeTree",
@@ -38,11 +36,14 @@
"chrome.bookmarks.onChanged": "bookmarks.html#event-onChanged",
"chrome.tabs.detectLanguage": "tabs.html#method-detectLanguage",
"chrome.windows.onRemoved": "windows.html#event-onRemoved",
+ "chrome.management.uninstall": "management.html#method-uninstall",
"chrome.experimental.clipboard.executePaste": "experimental.clipboard.html#method-executePaste",
"chrome.experimental.webNavigation.onCompleted": "experimental.webNavigation.html#event-onCompleted",
+ "chrome.management.setEnabled": "management.html#method-setEnabled",
"chrome.tabs.update": "tabs.html#method-update",
"chrome.history.deleteRange": "history.html#method-deleteRange",
"chrome.tabs.connect": "tabs.html#method-connect",
+ "chrome.management.onEnabled": "management.html#event-onEnabled",
"chrome.cookies.set": "cookies.html#method-set",
"chrome.experimental.sidebar.setBadgeText": "experimental.sidebar.html#method-setBadgeText",
"chrome.experimental.webNavigation.onBeforeNavigate": "experimental.webNavigation.html#event-onBeforeNavigate",
@@ -52,6 +53,7 @@
"chrome.experimental.webRequest.onBeforeRedirect": "experimental.webRequest.html#event-onBeforeRedirect",
"chrome.tabs.getCurrent": "tabs.html#method-getCurrent",
"chrome.experimental.sidebar.getState": "experimental.sidebar.html#method-getState",
+ "chrome.management.launchApp": "management.html#method-launchApp",
"chrome.browserAction.setTitle": "browserAction.html#method-setTitle",
"chrome.contextMenus.remove": "contextMenus.html#method-remove",
"chrome.experimental.omnibox.onInputStarted": "experimental.omnibox.html#event-onInputStarted",
@@ -59,6 +61,7 @@
"chrome.tabs.create": "tabs.html#method-create",
"chrome.cookies.get": "cookies.html#method-get",
"chrome.experimental.webRequest.onBeforeRequest": "experimental.webRequest.html#event-onBeforeRequest",
+ "chrome.management.onDisabled": "management.html#event-onDisabled",
"chrome.windows.onCreated": "windows.html#event-onCreated",
"chrome.experimental.webNavigation.onCommitted": "experimental.webNavigation.html#event-onCommitted",
"chrome.bookmarks.create": "bookmarks.html#method-create",
@@ -71,10 +74,10 @@
"chrome.experimental.webRequest.onCompleted": "experimental.webRequest.html#event-onCompleted",
"chrome.bookmarks.onCreated": "bookmarks.html#event-onCreated",
"chrome.pageAction.show": "pageAction.html#method-show",
+ "chrome.management.onInstalled": "management.html#event-onInstalled",
"chrome.bookmarks.search": "bookmarks.html#method-search",
"chrome.extension.onRequest": "extension.html#event-onRequest",
"chrome.extension.getBackgroundPage": "extension.html#method-getBackgroundPage",
- "chrome.experimental.management.launchApp": "experimental.management.html#method-launchApp",
"chrome.pageAction.hide": "pageAction.html#method-hide",
"chrome.experimental.omnibox.styleMatch": "experimental.omnibox.html#method-styleMatch",
"chrome.experimental.sidebar.expand": "experimental.sidebar.html#method-expand",
@@ -91,7 +94,6 @@
"chrome.cookies.getAll": "cookies.html#method-getAll",
"chrome.extension.onRequestExternal": "extension.html#event-onRequestExternal",
"chrome.bookmarks.onRemoved": "bookmarks.html#event-onRemoved",
- "chrome.experimental.management.onDisabled": "experimental.management.html#event-onDisabled",
"chrome.contextMenus.update": "contextMenus.html#method-update",
"chrome.experimental.sidebar.setTitle": "experimental.sidebar.html#method-setTitle",
"chrome.bookmarks.export": "bookmarks.html#method-export",
@@ -100,7 +102,8 @@
"chrome.experimental.sidebar.show": "experimental.sidebar.html#method-show",
"chrome.tabs.onSelectionChanged": "tabs.html#event-onSelectionChanged",
"chrome.cookies.onChanged": "cookies.html#event-onChanged",
- "chrome.experimental.management.uninstall": "experimental.management.html#method-uninstall",
+ "chrome.management.getAll": "management.html#method-getAll",
+ "chrome.management.onUninstalled": "management.html#event-onUninstalled",
"chrome.windows.update": "windows.html#method-update",
"chrome.extension.getURL": "extension.html#method-getURL",
"chrome.idle.queryState": "idle.html#method-queryState",
@@ -120,17 +123,14 @@
"chrome.experimental.proxy.useCustomProxySettings": "experimental.proxy.html#method-useCustomProxySettings",
"chrome.browserAction.setPopup": "browserAction.html#method-setPopup",
"chrome.bookmarks.onChildrenReordered": "bookmarks.html#event-onChildrenReordered",
- "chrome.experimental.management.onInstalled": "experimental.management.html#event-onInstalled",
"chrome.experimental.webRequest.onRequestSent": "experimental.webRequest.html#event-onRequestSent",
"chrome.extension.getToolstrips": "extension.html#method-getToolstrips",
"chrome.history.onVisited": "history.html#event-onVisited",
"chrome.tabs.onUpdated": "tabs.html#event-onUpdated",
- "chrome.experimental.management.setEnabled": "experimental.management.html#method-setEnabled",
"chrome.history.deleteAll": "history.html#method-deleteAll",
"chrome.experimental.webNavigation.onDOMContentLoaded": "experimental.webNavigation.html#event-onDOMContentLoaded",
"chrome.tabs.getAllInWindow": "tabs.html#method-getAllInWindow",
"chrome.contextMenus.create": "contextMenus.html#method-create",
- "chrome.experimental.management.getAll": "experimental.management.html#method-getAll",
"chrome.tabs.getSelected": "tabs.html#method-getSelected",
"chrome.tabs.onAttached": "tabs.html#event-onAttached",
"chrome.tabs.remove": "tabs.html#method-remove",
diff --git a/chrome/common/extensions/docs/static/experimental.management.html b/chrome/common/extensions/docs/static/experimental.management.html
deleted file mode 100644
index aa2fafb5..0000000
--- a/chrome/common/extensions/docs/static/experimental.management.html
+++ /dev/null
@@ -1,2 +0,0 @@
-<!-- BEGIN AUTHORED CONTENT -->
-<!-- END AUTHORED CONTENT -->
diff --git a/chrome/common/extensions/docs/static/management.html b/chrome/common/extensions/docs/static/management.html
new file mode 100644
index 0000000..11bdc96
--- /dev/null
+++ b/chrome/common/extensions/docs/static/management.html
@@ -0,0 +1,6 @@
+<div id="pageData-name" class="pageData">Management</div>
+<!-- BEGIN AUTHORED CONTENT -->
+<p id="classSummary">
+The <code>chrome.management</code> module provides ways to manage the list of extensions/apps that are installed and running. It is particularly useful for extensions that <a href="override.html">override</a> the built-in New Tab page.
+</p>
+<!-- END AUTHORED CONTENT -->
diff --git a/chrome/common/extensions/docs/tabs.html b/chrome/common/extensions/docs/tabs.html
index 17799d1..6bf0999 100644
--- a/chrome/common/extensions/docs/tabs.html
+++ b/chrome/common/extensions/docs/tabs.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li class="leftNavSelected">Tabs</li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/template/api_template.html b/chrome/common/extensions/docs/template/api_template.html
index adfc0b1..75f089d 100644
--- a/chrome/common/extensions/docs/template/api_template.html
+++ b/chrome/common/extensions/docs/template/api_template.html
@@ -164,6 +164,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/themes.html b/chrome/common/extensions/docs/themes.html
index dfac356..0f4912d 100644
--- a/chrome/common/extensions/docs/themes.html
+++ b/chrome/common/extensions/docs/themes.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/tut_analytics.html b/chrome/common/extensions/docs/tut_analytics.html
index b38b7ae..6f6dafd 100644
--- a/chrome/common/extensions/docs/tut_analytics.html
+++ b/chrome/common/extensions/docs/tut_analytics.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/tut_debugging.html b/chrome/common/extensions/docs/tut_debugging.html
index 7336438..9d62494 100644
--- a/chrome/common/extensions/docs/tut_debugging.html
+++ b/chrome/common/extensions/docs/tut_debugging.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/tut_oauth.html b/chrome/common/extensions/docs/tut_oauth.html
index 2a66618..bab5072 100644
--- a/chrome/common/extensions/docs/tut_oauth.html
+++ b/chrome/common/extensions/docs/tut_oauth.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/tutorials.html b/chrome/common/extensions/docs/tutorials.html
index 7ab350c..c7bc92d 100644
--- a/chrome/common/extensions/docs/tutorials.html
+++ b/chrome/common/extensions/docs/tutorials.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/whats_new.html b/chrome/common/extensions/docs/whats_new.html
index fd7a196a..2bc0633 100644
--- a/chrome/common/extensions/docs/whats_new.html
+++ b/chrome/common/extensions/docs/whats_new.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/docs/windows.html b/chrome/common/extensions/docs/windows.html
index 9e928e2c..0ed4523 100644
--- a/chrome/common/extensions/docs/windows.html
+++ b/chrome/common/extensions/docs/windows.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li class="leftNavSelected">Windows</li>
</ul>
diff --git a/chrome/common/extensions/docs/xhr.html b/chrome/common/extensions/docs/xhr.html
index c304f6f4..5c0176f 100644
--- a/chrome/common/extensions/docs/xhr.html
+++ b/chrome/common/extensions/docs/xhr.html
@@ -177,6 +177,7 @@
<li><a href="cookies.html">Cookies</a></li>
<li><a href="events.html">Events</a></li>
<li><a href="history.html">History</a></li>
+ <li><a href="management.html">Management</a></li>
<li><a href="tabs.html">Tabs</a></li>
<li><a href="windows.html">Windows</a></li>
</ul>
diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc
index bddd6ec..c7f6f3f 100644
--- a/chrome/common/extensions/extension.cc
+++ b/chrome/common/extensions/extension.cc
@@ -214,6 +214,7 @@ const char Extension::kExperimentalPermission[] = "experimental";
const char Extension::kGeolocationPermission[] = "geolocation";
const char Extension::kHistoryPermission[] = "history";
const char Extension::kIdlePermission[] = "idle";
+const char Extension::kManagementPermission[] = "management";
const char Extension::kNotificationPermission[] = "notifications";
const char Extension::kProxyPermission[] = "proxy";
const char Extension::kTabPermission[] = "tabs";
@@ -232,6 +233,7 @@ const Extension::Permission Extension::kPermissions[] = {
{ kGeolocationPermission, IDS_EXTENSION_PROMPT2_WARNING_GEOLOCATION },
{ kIdlePermission, 0 },
{ kHistoryPermission, IDS_EXTENSION_PROMPT2_WARNING_BROWSING_HISTORY },
+ { kManagementPermission, IDS_EXTENSION_PROMPT2_WARNING_MANAGEMENT },
{ kNotificationPermission, 0 },
{ kProxyPermission, 0 },
{ kTabPermission, IDS_EXTENSION_PROMPT2_WARNING_BROWSING_HISTORY },
diff --git a/chrome/common/extensions/extension.h b/chrome/common/extensions/extension.h
index b1b00d3..630f1af 100644
--- a/chrome/common/extensions/extension.h
+++ b/chrome/common/extensions/extension.h
@@ -179,6 +179,7 @@ class Extension {
static const char kGeolocationPermission[];
static const char kHistoryPermission[];
static const char kIdlePermission[];
+ static const char kManagementPermission[];
static const char kNotificationPermission[];
static const char kProxyPermission[];
static const char kTabPermission[];
diff --git a/chrome/renderer/resources/renderer_extension_bindings.js b/chrome/renderer/resources/renderer_extension_bindings.js
index 90a68bc..79a20d2 100644
--- a/chrome/renderer/resources/renderer_extension_bindings.js
+++ b/chrome/renderer/resources/renderer_extension_bindings.js
@@ -260,7 +260,6 @@ var chrome = chrome || {};
"experimental.extension",
"experimental.infobars",
"experimental.input",
- "experimental.management",
"experimental.metrics",
"experimental.omnibox",
"experimental.popup",
@@ -273,6 +272,7 @@ var chrome = chrome || {};
"experimental.webRequest",
"history",
"idle",
+ "management",
"pageAction",
"pageActions",
"tabs",
diff --git a/chrome/test/data/extensions/api_test/extension_gallery_install/test.html b/chrome/test/data/extensions/api_test/extension_gallery_install/test.html
index ffd5f97..13acc1f 100644
--- a/chrome/test/data/extensions/api_test/extension_gallery_install/test.html
+++ b/chrome/test/data/extensions/api_test/extension_gallery_install/test.html
@@ -10,7 +10,7 @@
var id = "ldnnhddmnhbkjipkidpdiheffobcpfmf";
function checkInstalled(callback) {
- chrome.experimental.management.getAll(function(extensions) {
+ chrome.management.getAll(function(extensions) {
var found = false;
extensions.forEach(function(extension) {
if (id == extension.id)
@@ -26,7 +26,7 @@ checkInstalled(function(installed) {
chrome.test.assertEq(false, installed);
// Install "gallery" extensions.
- chrome.experimental.management.onInstalled.addListener(function(info) {
+ chrome.management.onInstalled.addListener(function(info) {
chrome.test.assertEq(id, info.id);
console.log("Installed " + info.id);
@@ -35,7 +35,7 @@ checkInstalled(function(installed) {
chrome.test.assertEq(true, installed);
// Now uninstall
- chrome.experimental.management.onUninstalled.addListener(function() {
+ chrome.management.onUninstalled.addListener(function() {
// And check that it's gone.
checkInstalled(function(installed) {
chrome.test.assertEq(false, installed);
@@ -45,7 +45,7 @@ checkInstalled(function(installed) {
});
console.log("Uninstalling...");
- chrome.experimental.management.uninstall(id, function() {
+ chrome.management.uninstall(id, function() {
chrome.test.assertNoLastError();
});
});
diff --git a/chrome/test/data/extensions/api_test/management/test/common.js b/chrome/test/data/extensions/api_test/management/test/common.js
index 744ced4..c1ae52e 100644
--- a/chrome/test/data/extensions/api_test/management/test/common.js
+++ b/chrome/test/data/extensions/api_test/management/test/common.js
@@ -2,10 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-if (!chrome.management) {
- chrome.management = chrome.experimental.management;
-}
-
var assertEq = chrome.test.assertEq;
var assertFalse = chrome.test.assertFalse;
var assertNoLastError = chrome.test.assertNoLastError;
diff --git a/chrome/test/data/extensions/api_test/management/test/manifest.json b/chrome/test/data/extensions/api_test/management/test/manifest.json
index a5915d4..4c25179 100644
--- a/chrome/test/data/extensions/api_test/management/test/manifest.json
+++ b/chrome/test/data/extensions/api_test/management/test/manifest.json
@@ -1,5 +1,5 @@
{
"name": "Extension Management API Test",
"version": "0.1",
- "permissions": ["experimental"]
+ "permissions": ["management"]
}
diff --git a/chrome/test/data/extensions/management/install_event/manifest.json b/chrome/test/data/extensions/management/install_event/manifest.json
index 79a5831..7bbe8af 100644
--- a/chrome/test/data/extensions/management/install_event/manifest.json
+++ b/chrome/test/data/extensions/management/install_event/manifest.json
@@ -1,7 +1,7 @@
{
"name": "Install event test",
"version": "0.1",
- "permissions": ["experimental"],
+ "permissions": ["management"],
"background_page": "background.html"
}
diff --git a/chrome/test/data/extensions/management/install_event/test.js b/chrome/test/data/extensions/management/install_event/test.js
index 09ef1c4..afdf6f8 100644
--- a/chrome/test/data/extensions/management/install_event/test.js
+++ b/chrome/test/data/extensions/management/install_event/test.js
@@ -2,10 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-if (!chrome.management) {
- chrome.management = chrome.experimental.management;
-}
-
chrome.management.onInstalled.addListener(function(info) {
if (info.name == "enabled_extension") {
chrome.test.sendMessage("got_event");
diff --git a/chrome/test/data/extensions/management/launch_app/manifest.json b/chrome/test/data/extensions/management/launch_app/manifest.json
index a4813de..ebbae31 100644
--- a/chrome/test/data/extensions/management/launch_app/manifest.json
+++ b/chrome/test/data/extensions/management/launch_app/manifest.json
@@ -1,6 +1,6 @@
{
"name": "Launch App test extension",
"version": "1",
- "permissions": ["experimental"],
+ "permissions": ["management"],
"background_page": "background.html"
} \ No newline at end of file
diff --git a/chrome/test/data/extensions/management/launch_app/test.js b/chrome/test/data/extensions/management/launch_app/test.js
index dad2be4..ee2e2c5 100644
--- a/chrome/test/data/extensions/management/launch_app/test.js
+++ b/chrome/test/data/extensions/management/launch_app/test.js
@@ -2,10 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-if (!chrome.management) {
- chrome.management = chrome.experimental.management;
-}
-
window.onload = function() {
chrome.management.getAll(function(items) {
for (var i in items) {