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

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

Issue 7529011: Add a flag that lets the webstore show a different UI on app install. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed files added in separate CL (r95432) Created 9 years, 4 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 | 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 // Sets the result_ as a string based on |code|. 102 // Sets the result_ as a string based on |code|.
103 void SetResult(ResultCode code); 103 void SetResult(ResultCode code);
104 104
105 private: 105 private:
106 // These store the input parameters to the function. 106 // These store the input parameters to the function.
107 std::string id_; 107 std::string id_;
108 std::string manifest_; 108 std::string manifest_;
109 std::string icon_data_; 109 std::string icon_data_;
110 std::string localized_name_; 110 std::string localized_name_;
111 bool use_app_installed_bubble_;
111 112
112 // The results of parsing manifest_ and icon_data_ go into these two. 113 // The results of parsing manifest_ and icon_data_ go into these two.
113 scoped_ptr<base::DictionaryValue> parsed_manifest_; 114 scoped_ptr<base::DictionaryValue> parsed_manifest_;
114 SkBitmap icon_; 115 SkBitmap icon_;
115 116
116 // A dummy Extension object we create for the purposes of using 117 // A dummy Extension object we create for the purposes of using
117 // ExtensionInstallUI to prompt for confirmation of the install. 118 // ExtensionInstallUI to prompt for confirmation of the install.
118 scoped_refptr<Extension> dummy_extension_; 119 scoped_refptr<Extension> dummy_extension_;
119 DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.beginInstallWithManifest2"); 120 DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.beginInstallWithManifest2");
120 }; 121 };
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 // Are we waiting for a token available notification? 165 // Are we waiting for a token available notification?
165 bool waiting_for_token_; 166 bool waiting_for_token_;
166 167
167 // Used for listening for TokenService notifications. 168 // Used for listening for TokenService notifications.
168 NotificationRegistrar registrar_; 169 NotificationRegistrar registrar_;
169 170
170 DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.promptBrowserLogin"); 171 DECLARE_EXTENSION_FUNCTION_NAME("webstorePrivate.promptBrowserLogin");
171 }; 172 };
172 173
173 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBSTORE_PRIVATE_API_H_ 174 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WEBSTORE_PRIVATE_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_install_ui.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