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

Side by Side Diff: chrome/browser/extensions/webstore_standalone_installer.cc

Issue 15239002: Move Extension and PermissionsData to extensions/common. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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) 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 #include "chrome/browser/extensions/webstore_standalone_installer.h" 5 #include "chrome/browser/extensions/webstore_standalone_installer.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "chrome/browser/extensions/crx_installer.h" 8 #include "chrome/browser/extensions/crx_installer.h"
9 #include "chrome/browser/extensions/extension_install_prompt.h" 9 #include "chrome/browser/extensions/extension_install_prompt.h"
10 #include "chrome/browser/extensions/extension_install_ui.h" 10 #include "chrome/browser/extensions/extension_install_ui.h"
11 #include "chrome/browser/extensions/extension_service.h" 11 #include "chrome/browser/extensions/extension_service.h"
12 #include "chrome/browser/extensions/webstore_data_fetcher.h" 12 #include "chrome/browser/extensions/webstore_data_fetcher.h"
13 #include "chrome/browser/profiles/profile.h" 13 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/common/extensions/extension.h"
15 #include "content/public/browser/web_contents.h" 14 #include "content/public/browser/web_contents.h"
15 #include "extensions/common/extension.h"
16 #include "url/gurl.h" 16 #include "url/gurl.h"
17 17
18 using content::WebContents; 18 using content::WebContents;
19 19
20 namespace extensions { 20 namespace extensions {
21 21
22 const char kManifestKey[] = "manifest"; 22 const char kManifestKey[] = "manifest";
23 const char kIconUrlKey[] = "icon_url"; 23 const char kIconUrlKey[] = "icon_url";
24 const char kLocalizedNameKey[] = "localized_name"; 24 const char kLocalizedNameKey[] = "localized_name";
25 const char kLocalizedDescriptionKey[] = "localized_description"; 25 const char kLocalizedDescriptionKey[] = "localized_description";
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 // Balanced in InstallUIAbort or indirectly in InstallUIProceed via 287 // Balanced in InstallUIAbort or indirectly in InstallUIProceed via
288 // OnExtensionInstallSuccess or OnExtensionInstallFailure. 288 // OnExtensionInstallSuccess or OnExtensionInstallFailure.
289 AddRef(); 289 AddRef();
290 290
291 install_ui_ = CreateInstallUI(); 291 install_ui_ = CreateInstallUI();
292 install_ui_->ConfirmStandaloneInstall( 292 install_ui_->ConfirmStandaloneInstall(
293 this, localized_extension_for_display_.get(), &icon_, *install_prompt_); 293 this, localized_extension_for_display_.get(), &icon_, *install_prompt_);
294 } 294 }
295 295
296 } // namespace extensions 296 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/webstore_installer.cc ('k') | chrome/browser/extensions/window_open_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698