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

Unified Diff: chrome/common/extensions/api/developer_private.idl

Issue 11614021: Revert 173612 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « chrome/common/extensions/api/api.gyp ('k') | chrome/common/extensions/extension.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/developer_private.idl
===================================================================
--- chrome/common/extensions/api/developer_private.idl (revision 173621)
+++ chrome/common/extensions/api/developer_private.idl (working copy)
@@ -1,91 +0,0 @@
-// Copyright (c) 2012 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.
-
-// developerPrivate API.
-// This is a private API exposing developing and debugging functionalities for
-// apps and extensions.
-
-namespace developerPrivate {
-
- enum ItemType {
- hosted_app,
- packaged_app,
- legacy_packaged_app,
- extension,
- theme
- };
-
- dictionary ItemInspectView {
- // path to the inspect page.
- DOMString path;
-
- // For lazy background pages, the value is -1.
- long render_process_id;
-
- long render_view_id;
- boolean incognito;
- };
-
- dictionary ItemInfo {
- DOMString id;
- DOMString name;
- DOMString version;
- DOMString description;
- boolean may_disable;
- boolean enabled;
- DOMString? disabled_reason;
- boolean isApp;
- ItemType type;
- boolean allow_activity;
- boolean allow_file_access;
- boolean wants_file_access;
- boolean enabled_incognito;
- boolean is_unpacked;
- boolean allow_reload;
- DOMString icon;
-
- // Path of an unpacked extension.
- DOMString? path;
-
- // Options settings page for the item.
- DOMString? options_url;
- DOMString? app_launch_url;
- DOMString? homepage_url;
- DOMString? update_url;
- boolean offline_enabled;
-
- // All views of the current extension.
- ItemInspectView[] views;
- };
-
- dictionary InspectOptions {
- DOMString extension_id;
- DOMString render_process_id;
- DOMString render_view_id;
- boolean incognito;
- };
-
- callback BooleanCallback = void (boolean result);
- callback ItemsInfoCallback = void (ItemInfo[] result);
-
- interface Functions {
- // Runs auto update for extensions and apps immediately.
- // |callback| : Called with the boolean result, true if autoUpdate is
- // successful.
- static void autoUpdate(BooleanCallback callback);
-
- // Returns information of all the extensions and apps installed.
- // |include_disabled| : include disabled items.
- // |include_terminated| : include terminated items.
- // |callback| : Called with items info.
- static void getItemsInfo(boolean include_disabled,
- boolean include_terminated,
- ItemsInfoCallback callback);
-
- // Opens an inspect window for given |options|
- static void inspect(InspectOptions options,
- BooleanCallback callback);
- };
-
-};
« no previous file with comments | « chrome/common/extensions/api/api.gyp ('k') | chrome/common/extensions/extension.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698