| 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 17 matching lines...) Expand all Loading... |
| 28 #include "chrome/browser/extensions/extension_system.h" | 28 #include "chrome/browser/extensions/extension_system.h" |
| 29 #include "chrome/browser/extensions/install_tracker.h" | 29 #include "chrome/browser/extensions/install_tracker.h" |
| 30 #include "chrome/browser/extensions/install_tracker_factory.h" | 30 #include "chrome/browser/extensions/install_tracker_factory.h" |
| 31 #include "chrome/browser/extensions/install_verifier.h" | 31 #include "chrome/browser/extensions/install_verifier.h" |
| 32 #include "chrome/browser/profiles/profile.h" | 32 #include "chrome/browser/profiles/profile.h" |
| 33 #include "chrome/browser/ui/browser_list.h" | 33 #include "chrome/browser/ui/browser_list.h" |
| 34 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 34 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
| 35 #include "chrome/common/chrome_paths.h" | 35 #include "chrome/common/chrome_paths.h" |
| 36 #include "chrome/common/chrome_switches.h" | 36 #include "chrome/common/chrome_switches.h" |
| 37 #include "chrome/common/extensions/extension_constants.h" | 37 #include "chrome/common/extensions/extension_constants.h" |
| 38 #include "chrome/common/extensions/manifest_handlers/shared_module_info.h" | |
| 39 #include "chrome/common/omaha_query_params/omaha_query_params.h" | 38 #include "chrome/common/omaha_query_params/omaha_query_params.h" |
| 40 #include "content/public/browser/browser_thread.h" | 39 #include "content/public/browser/browser_thread.h" |
| 41 #include "content/public/browser/download_manager.h" | 40 #include "content/public/browser/download_manager.h" |
| 42 #include "content/public/browser/download_save_info.h" | 41 #include "content/public/browser/download_save_info.h" |
| 43 #include "content/public/browser/download_url_parameters.h" | 42 #include "content/public/browser/download_url_parameters.h" |
| 44 #include "content/public/browser/navigation_controller.h" | 43 #include "content/public/browser/navigation_controller.h" |
| 45 #include "content/public/browser/navigation_entry.h" | 44 #include "content/public/browser/navigation_entry.h" |
| 46 #include "content/public/browser/notification_details.h" | 45 #include "content/public/browser/notification_details.h" |
| 47 #include "content/public/browser/notification_service.h" | 46 #include "content/public/browser/notification_service.h" |
| 48 #include "content/public/browser/notification_source.h" | 47 #include "content/public/browser/notification_source.h" |
| 49 #include "content/public/browser/render_process_host.h" | 48 #include "content/public/browser/render_process_host.h" |
| 50 #include "content/public/browser/render_view_host.h" | 49 #include "content/public/browser/render_view_host.h" |
| 51 #include "content/public/browser/web_contents.h" | 50 #include "content/public/browser/web_contents.h" |
| 52 #include "extensions/common/extension.h" | 51 #include "extensions/common/extension.h" |
| 53 #include "extensions/common/manifest_constants.h" | 52 #include "extensions/common/manifest_constants.h" |
| 53 #include "extensions/common/manifest_handlers/shared_module_info.h" |
| 54 #include "net/base/escape.h" | 54 #include "net/base/escape.h" |
| 55 #include "url/gurl.h" | 55 #include "url/gurl.h" |
| 56 | 56 |
| 57 #if defined(OS_CHROMEOS) | 57 #if defined(OS_CHROMEOS) |
| 58 #include "chrome/browser/chromeos/drive/file_system_util.h" | 58 #include "chrome/browser/chromeos/drive/file_system_util.h" |
| 59 #endif | 59 #endif |
| 60 | 60 |
| 61 using chrome::OmahaQueryParams; | 61 using chrome::OmahaQueryParams; |
| 62 using content::BrowserContext; | 62 using content::BrowserContext; |
| 63 using content::BrowserThread; | 63 using content::BrowserThread; |
| (...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 1, | 655 1, |
| 656 kMaxSizeKb, | 656 kMaxSizeKb, |
| 657 kNumBuckets); | 657 kNumBuckets); |
| 658 } | 658 } |
| 659 UMA_HISTOGRAM_BOOLEAN( | 659 UMA_HISTOGRAM_BOOLEAN( |
| 660 "Extensions.WebstoreDownload.InterruptTotalSizeUnknown", | 660 "Extensions.WebstoreDownload.InterruptTotalSizeUnknown", |
| 661 total_bytes <= 0); | 661 total_bytes <= 0); |
| 662 } | 662 } |
| 663 | 663 |
| 664 } // namespace extensions | 664 } // namespace extensions |
| OLD | NEW |