Chromium Code Reviews

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

Issue 1192493003: Move browser-agnostic code from file_system_util to file_system_core_util. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@drive-prefservice
Patch Set: Fixed copyright headers in the 3 new files. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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 <set> 7 #include <set>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 42 matching lines...)
53 #include "extensions/browser/install/crx_install_error.h" 53 #include "extensions/browser/install/crx_install_error.h"
54 #include "extensions/common/extension.h" 54 #include "extensions/common/extension.h"
55 #include "extensions/common/extension_urls.h" 55 #include "extensions/common/extension_urls.h"
56 #include "extensions/common/manifest_constants.h" 56 #include "extensions/common/manifest_constants.h"
57 #include "extensions/common/manifest_handlers/shared_module_info.h" 57 #include "extensions/common/manifest_handlers/shared_module_info.h"
58 #include "net/base/escape.h" 58 #include "net/base/escape.h"
59 #include "ui/base/l10n/l10n_util.h" 59 #include "ui/base/l10n/l10n_util.h"
60 #include "url/gurl.h" 60 #include "url/gurl.h"
61 61
62 #if defined(OS_CHROMEOS) 62 #if defined(OS_CHROMEOS)
63 #include "chrome/browser/chromeos/drive/file_system_util.h" 63 #include "chrome/browser/chromeos/drive/file_system_core_util.h"
64 #endif 64 #endif
65 65
66 using content::BrowserContext; 66 using content::BrowserContext;
67 using content::BrowserThread; 67 using content::BrowserThread;
68 using content::DownloadItem; 68 using content::DownloadItem;
69 using content::DownloadManager; 69 using content::DownloadManager;
70 using content::NavigationController; 70 using content::NavigationController;
71 using content::DownloadUrlParameters; 71 using content::DownloadUrlParameters;
72 72
73 namespace { 73 namespace {
(...skipping 708 matching lines...)
782 1, 782 1,
783 kMaxSizeKb, 783 kMaxSizeKb,
784 kNumBuckets); 784 kNumBuckets);
785 } 785 }
786 UMA_HISTOGRAM_BOOLEAN( 786 UMA_HISTOGRAM_BOOLEAN(
787 "Extensions.WebstoreDownload.InterruptTotalSizeUnknown", 787 "Extensions.WebstoreDownload.InterruptTotalSizeUnknown",
788 total_bytes <= 0); 788 total_bytes <= 0);
789 } 789 }
790 790
791 } // namespace extensions 791 } // namespace extensions
OLDNEW

Powered by Google App Engine