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

Side by Side Diff: chrome/browser/profiles/profile_impl.cc

Issue 16387014: Use a direct include of utf_string_conversions.h in chrome/browser/, part 3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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 #include "chrome/browser/profiles/profile_impl.h" 5 #include "chrome/browser/profiles/profile_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/debug/trace_event.h" 11 #include "base/debug/trace_event.h"
12 #include "base/environment.h" 12 #include "base/environment.h"
13 #include "base/file_util.h" 13 #include "base/file_util.h"
14 #include "base/files/file_path.h" 14 #include "base/files/file_path.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/path_service.h" 16 #include "base/path_service.h"
17 #include "base/prefs/json_pref_store.h" 17 #include "base/prefs/json_pref_store.h"
18 #include "base/string_util.h" 18 #include "base/string_util.h"
19 #include "base/stringprintf.h" 19 #include "base/stringprintf.h"
20 #include "base/strings/string_number_conversions.h" 20 #include "base/strings/string_number_conversions.h"
21 #include "base/strings/utf_string_conversions.h"
21 #include "base/synchronization/waitable_event.h" 22 #include "base/synchronization/waitable_event.h"
22 #include "base/threading/sequenced_worker_pool.h" 23 #include "base/threading/sequenced_worker_pool.h"
23 #include "base/utf_string_conversions.h"
24 #include "base/version.h" 24 #include "base/version.h"
25 #include "chrome/browser/autocomplete/autocomplete_classifier.h" 25 #include "chrome/browser/autocomplete/autocomplete_classifier.h"
26 #include "chrome/browser/background/background_contents_service_factory.h" 26 #include "chrome/browser/background/background_contents_service_factory.h"
27 #include "chrome/browser/background/background_mode_manager.h" 27 #include "chrome/browser/background/background_mode_manager.h"
28 #include "chrome/browser/bookmarks/bookmark_model.h" 28 #include "chrome/browser/bookmarks/bookmark_model.h"
29 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 29 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
30 #include "chrome/browser/browser_process.h" 30 #include "chrome/browser/browser_process.h"
31 #include "chrome/browser/content_settings/cookie_settings.h" 31 #include "chrome/browser/content_settings/cookie_settings.h"
32 #include "chrome/browser/content_settings/host_content_settings_map.h" 32 #include "chrome/browser/content_settings/host_content_settings_map.h"
33 #include "chrome/browser/download/chrome_download_manager_delegate.h" 33 #include "chrome/browser/download/chrome_download_manager_delegate.h"
(...skipping 1116 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 base::FilePath* cache_path, 1150 base::FilePath* cache_path,
1151 int* max_size) { 1151 int* max_size) {
1152 DCHECK(cache_path); 1152 DCHECK(cache_path);
1153 DCHECK(max_size); 1153 DCHECK(max_size);
1154 base::FilePath path(prefs_->GetFilePath(prefs::kDiskCacheDir)); 1154 base::FilePath path(prefs_->GetFilePath(prefs::kDiskCacheDir));
1155 if (!path.empty()) 1155 if (!path.empty())
1156 *cache_path = path; 1156 *cache_path = path;
1157 *max_size = is_media_context ? prefs_->GetInteger(prefs::kMediaCacheSize) : 1157 *max_size = is_media_context ? prefs_->GetInteger(prefs::kMediaCacheSize) :
1158 prefs_->GetInteger(prefs::kDiskCacheSize); 1158 prefs_->GetInteger(prefs::kDiskCacheSize);
1159 } 1159 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/profile_downloader_unittest.cc ('k') | chrome/browser/profiles/profile_info_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698