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

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

Issue 3353015: Implement gallery install API (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: erik comments Created 10 years, 3 months 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/extensions/extension_function.h" 9 #include "chrome/browser/extensions/extension_function.h"
10 10
11 class InstallFunction : public SyncExtensionFunction {
12 public:
13 static void SetTestingInstallBaseUrl(const char* testing_install_base_url);
14
15 protected:
16 ~InstallFunction() {}
17 virtual bool RunImpl();
18 DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.install");
19 };
20
11 class GetSyncLoginFunction : public SyncExtensionFunction { 21 class GetSyncLoginFunction : public SyncExtensionFunction {
12 virtual bool RunImpl(); 22 virtual bool RunImpl();
13 DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.getSyncLogin"); 23 DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.getSyncLogin");
14 }; 24 };
15 25
16 class GetStoreLoginFunction : public SyncExtensionFunction { 26 class GetStoreLoginFunction : public SyncExtensionFunction {
17 virtual bool RunImpl(); 27 virtual bool RunImpl();
18 DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.getStoreLogin"); 28 DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.getStoreLogin");
19 }; 29 };
20 30
21 class SetStoreLoginFunction : public SyncExtensionFunction { 31 class SetStoreLoginFunction : public SyncExtensionFunction {
22 virtual bool RunImpl(); 32 virtual bool RunImpl();
23 DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.setStoreLogin"); 33 DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.setStoreLogin");
24 }; 34 };
25 35
26 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBSTORE_PRIVATE_API_H__ 36 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBSTORE_PRIVATE_API_H__
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_management_api.cc ('k') | chrome/browser/extensions/extension_webstore_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698