| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |