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

Side by Side Diff: chrome/browser/extensions/webstore_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_installer.h" 5 #include "chrome/browser/extensions/webstore_installer.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 11 matching lines...) Expand all
22 #include "chrome/browser/download/download_stats.h" 22 #include "chrome/browser/download/download_stats.h"
23 #include "chrome/browser/extensions/crx_installer.h" 23 #include "chrome/browser/extensions/crx_installer.h"
24 #include "chrome/browser/extensions/extension_system.h" 24 #include "chrome/browser/extensions/extension_system.h"
25 #include "chrome/browser/extensions/install_tracker.h" 25 #include "chrome/browser/extensions/install_tracker.h"
26 #include "chrome/browser/extensions/install_tracker_factory.h" 26 #include "chrome/browser/extensions/install_tracker_factory.h"
27 #include "chrome/browser/extensions/install_verifier.h" 27 #include "chrome/browser/extensions/install_verifier.h"
28 #include "chrome/browser/profiles/profile.h" 28 #include "chrome/browser/profiles/profile.h"
29 #include "chrome/browser/ui/browser_list.h" 29 #include "chrome/browser/ui/browser_list.h"
30 #include "chrome/browser/ui/tabs/tab_strip_model.h" 30 #include "chrome/browser/ui/tabs/tab_strip_model.h"
31 #include "chrome/common/chrome_switches.h" 31 #include "chrome/common/chrome_switches.h"
32 #include "chrome/common/extensions/extension.h"
33 #include "chrome/common/extensions/extension_constants.h" 32 #include "chrome/common/extensions/extension_constants.h"
34 #include "chrome/common/extensions/manifest_handlers/shared_module_info.h" 33 #include "chrome/common/extensions/manifest_handlers/shared_module_info.h"
35 #include "chrome/common/omaha_query_params/omaha_query_params.h" 34 #include "chrome/common/omaha_query_params/omaha_query_params.h"
36 #include "content/public/browser/browser_thread.h" 35 #include "content/public/browser/browser_thread.h"
37 #include "content/public/browser/download_manager.h" 36 #include "content/public/browser/download_manager.h"
38 #include "content/public/browser/download_save_info.h" 37 #include "content/public/browser/download_save_info.h"
39 #include "content/public/browser/download_url_parameters.h" 38 #include "content/public/browser/download_url_parameters.h"
40 #include "content/public/browser/navigation_controller.h" 39 #include "content/public/browser/navigation_controller.h"
41 #include "content/public/browser/navigation_entry.h" 40 #include "content/public/browser/navigation_entry.h"
42 #include "content/public/browser/notification_details.h" 41 #include "content/public/browser/notification_details.h"
43 #include "content/public/browser/notification_service.h" 42 #include "content/public/browser/notification_service.h"
44 #include "content/public/browser/notification_source.h" 43 #include "content/public/browser/notification_source.h"
45 #include "content/public/browser/render_process_host.h" 44 #include "content/public/browser/render_process_host.h"
46 #include "content/public/browser/render_view_host.h" 45 #include "content/public/browser/render_view_host.h"
47 #include "content/public/browser/web_contents.h" 46 #include "content/public/browser/web_contents.h"
47 #include "extensions/common/extension.h"
48 #include "extensions/common/manifest_constants.h" 48 #include "extensions/common/manifest_constants.h"
49 #include "net/base/escape.h" 49 #include "net/base/escape.h"
50 #include "url/gurl.h" 50 #include "url/gurl.h"
51 51
52 #if defined(OS_CHROMEOS) 52 #if defined(OS_CHROMEOS)
53 #include "chrome/browser/chromeos/drive/file_system_util.h" 53 #include "chrome/browser/chromeos/drive/file_system_util.h"
54 #endif 54 #endif
55 55
56 using chrome::OmahaQueryParams; 56 using chrome::OmahaQueryParams;
57 using content::BrowserContext; 57 using content::BrowserContext;
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 void WebstoreInstaller::ReportSuccess() { 590 void WebstoreInstaller::ReportSuccess() {
591 if (delegate_) { 591 if (delegate_) {
592 delegate_->OnExtensionInstallSuccess(id_); 592 delegate_->OnExtensionInstallSuccess(id_);
593 delegate_ = NULL; 593 delegate_ = NULL;
594 } 594 }
595 595
596 Release(); // Balanced in Start(). 596 Release(); // Balanced in Start().
597 } 597 }
598 598
599 } // namespace extensions 599 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/webstore_ephemeral_installer.cc ('k') | chrome/browser/extensions/webstore_standalone_installer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698