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

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

Issue 8869003: Move the "extension" namespace from extension_api.json into extension_api_extension.json. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBSTORE_PRIVATE_API_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBSTORE_PRIVATE_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBSTORE_PRIVATE_API_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBSTORE_PRIVATE_API_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 24 matching lines...) Expand all
35 35
36 class BeginInstallWithManifestFunction 36 class BeginInstallWithManifestFunction
37 : public AsyncExtensionFunction, 37 : public AsyncExtensionFunction,
38 public ExtensionInstallUI::Delegate, 38 public ExtensionInstallUI::Delegate,
39 public WebstoreInstallHelper::Delegate { 39 public WebstoreInstallHelper::Delegate {
40 public: 40 public:
41 BeginInstallWithManifestFunction(); 41 BeginInstallWithManifestFunction();
42 42
43 // Result codes for the return value. If you change this, make sure to 43 // Result codes for the return value. If you change this, make sure to
44 // update the description for the beginInstallWithManifest3 callback in 44 // update the description for the beginInstallWithManifest3 callback in
45 // extension_api.json. 45 // api/.
46 enum ResultCode { 46 enum ResultCode {
47 ERROR_NONE = 0, 47 ERROR_NONE = 0,
48 48
49 // An unspecified error occurred. 49 // An unspecified error occurred.
50 UNKNOWN_ERROR, 50 UNKNOWN_ERROR,
51 51
52 // The user cancelled the confirmation dialog instead of accepting it. 52 // The user cancelled the confirmation dialog instead of accepting it.
53 USER_CANCELLED, 53 USER_CANCELLED,
54 54
55 // The manifest failed to parse correctly. 55 // The manifest failed to parse correctly.
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 virtual bool RunImpl() OVERRIDE; 153 virtual bool RunImpl() OVERRIDE;
154 DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.getStoreLogin"); 154 DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.getStoreLogin");
155 }; 155 };
156 156
157 class SetStoreLoginFunction : public SyncExtensionFunction { 157 class SetStoreLoginFunction : public SyncExtensionFunction {
158 virtual bool RunImpl() OVERRIDE; 158 virtual bool RunImpl() OVERRIDE;
159 DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.setStoreLogin"); 159 DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.setStoreLogin");
160 }; 160 };
161 161
162 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBSTORE_PRIVATE_API_H_ 162 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBSTORE_PRIVATE_API_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698