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

Side by Side Diff: chrome/browser/download/download_util.cc

Issue 11740018: Cleanup: Remove more unneeded browser_thread.h includes. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 7 years, 11 months 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 // Download utility implementation 5 // Download utility implementation
6 6
7 #define _USE_MATH_DEFINES // For VC++ to get M_PI. This has to be first. 7 #define _USE_MATH_DEFINES // For VC++ to get M_PI. This has to be first.
8 8
9 #include "chrome/browser/download/download_util.h" 9 #include "chrome/browser/download/download_util.h"
10 10
(...skipping 12 matching lines...) Expand all
23 #include "base/threading/thread_restrictions.h" 23 #include "base/threading/thread_restrictions.h"
24 #include "base/utf_string_conversions.h" 24 #include "base/utf_string_conversions.h"
25 #include "base/value_conversions.h" 25 #include "base/value_conversions.h"
26 #include "base/values.h" 26 #include "base/values.h"
27 #include "chrome/browser/download/download_extensions.h" 27 #include "chrome/browser/download/download_extensions.h"
28 #include "chrome/browser/download/download_item_model.h" 28 #include "chrome/browser/download/download_item_model.h"
29 #include "chrome/browser/profiles/profile.h" 29 #include "chrome/browser/profiles/profile.h"
30 #include "chrome/common/chrome_notification_types.h" 30 #include "chrome/common/chrome_notification_types.h"
31 #include "chrome/common/chrome_paths.h" 31 #include "chrome/common/chrome_paths.h"
32 #include "chrome/common/time_format.h" 32 #include "chrome/common/time_format.h"
33 #include "content/public/browser/browser_thread.h"
34 #include "content/public/browser/download_item.h" 33 #include "content/public/browser/download_item.h"
35 #include "content/public/browser/download_manager.h" 34 #include "content/public/browser/download_manager.h"
36 #include "content/public/browser/render_view_host.h" 35 #include "content/public/browser/render_view_host.h"
37 #include "content/public/common/url_constants.h" 36 #include "content/public/common/url_constants.h"
38 #include "grit/generated_resources.h" 37 #include "grit/generated_resources.h"
39 #include "grit/locale_settings.h" 38 #include "grit/locale_settings.h"
40 #include "grit/theme_resources.h" 39 #include "grit/theme_resources.h"
41 #include "net/base/mime_util.h" 40 #include "net/base/mime_util.h"
42 #include "net/base/net_util.h" 41 #include "net/base/net_util.h"
43 #include "skia/ext/image_operations.h" 42 #include "skia/ext/image_operations.h"
(...skipping 451 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 UMA_HISTOGRAM_ENUMERATION( 494 UMA_HISTOGRAM_ENUMERATION(
496 "Download.CountsChrome", type, CHROME_DOWNLOAD_COUNT_TYPES_LAST_ENTRY); 495 "Download.CountsChrome", type, CHROME_DOWNLOAD_COUNT_TYPES_LAST_ENTRY);
497 } 496 }
498 497
499 void RecordDownloadSource(ChromeDownloadSource source) { 498 void RecordDownloadSource(ChromeDownloadSource source) {
500 UMA_HISTOGRAM_ENUMERATION( 499 UMA_HISTOGRAM_ENUMERATION(
501 "Download.SourcesChrome", source, CHROME_DOWNLOAD_SOURCE_LAST_ENTRY); 500 "Download.SourcesChrome", source, CHROME_DOWNLOAD_SOURCE_LAST_ENTRY);
502 } 501 }
503 502
504 } // namespace download_util 503 } // namespace download_util
OLDNEW
« no previous file with comments | « chrome/browser/download/download_danger_prompt.cc ('k') | chrome/browser/download/save_package_file_picker_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698