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

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

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 std::string icon_data_; 138 std::string icon_data_;
139 std::string localized_name_; 139 std::string localized_name_;
140 bool use_app_installed_bubble_; 140 bool use_app_installed_bubble_;
141 141
142 // The results of parsing manifest_ and icon_data_ go into these two. 142 // The results of parsing manifest_ and icon_data_ go into these two.
143 scoped_ptr<base::DictionaryValue> parsed_manifest_; 143 scoped_ptr<base::DictionaryValue> parsed_manifest_;
144 SkBitmap icon_; 144 SkBitmap icon_;
145 145
146 // A dummy Extension object we create for the purposes of using 146 // A dummy Extension object we create for the purposes of using
147 // ExtensionInstallUI to prompt for confirmation of the install. 147 // ExtensionInstallUI to prompt for confirmation of the install.
148 scoped_refptr<Extension> dummy_extension_; 148 scoped_refptr<extensions::Extension> dummy_extension_;
149 149
150 // The class that displays the install prompt. 150 // The class that displays the install prompt.
151 scoped_ptr<ExtensionInstallUI> install_ui_; 151 scoped_ptr<ExtensionInstallUI> install_ui_;
152 }; 152 };
153 153
154 class CompleteInstallFunction : public SyncExtensionFunction { 154 class CompleteInstallFunction : public SyncExtensionFunction {
155 public: 155 public:
156 DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.completeInstall"); 156 DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.completeInstall");
157 157
158 protected: 158 protected:
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 247
248 private: 248 private:
249 void CreateResult(bool webgl_allowed); 249 void CreateResult(bool webgl_allowed);
250 250
251 // A false return value is always valid, but a true one is only valid if full 251 // A false return value is always valid, but a true one is only valid if full
252 // GPU info has been collected in a GPU process. 252 // GPU info has been collected in a GPU process.
253 static bool IsWebGLAllowed(content::GpuDataManager* manager); 253 static bool IsWebGLAllowed(content::GpuDataManager* manager);
254 }; 254 };
255 255
256 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBSTORE_PRIVATE_API_H_ 256 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBSTORE_PRIVATE_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_webkit_preferences.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