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

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

Issue 12087091: Move string tokenizer to base/strings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort Created 7 years, 10 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/environment.h" 11 #include "base/environment.h"
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "base/file_util.h" 13 #include "base/file_util.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/path_service.h" 15 #include "base/path_service.h"
16 #include "base/prefs/json_pref_store.h" 16 #include "base/prefs/json_pref_store.h"
17 #include "base/string_number_conversions.h" 17 #include "base/string_number_conversions.h"
18 #include "base/string_tokenizer.h"
19 #include "base/string_util.h" 18 #include "base/string_util.h"
20 #include "base/stringprintf.h" 19 #include "base/stringprintf.h"
21 #include "base/synchronization/waitable_event.h" 20 #include "base/synchronization/waitable_event.h"
22 #include "base/threading/sequenced_worker_pool.h" 21 #include "base/threading/sequenced_worker_pool.h"
23 #include "base/utf_string_conversions.h" 22 #include "base/utf_string_conversions.h"
24 #include "base/version.h" 23 #include "base/version.h"
25 #include "chrome/browser/autocomplete/autocomplete_classifier.h" 24 #include "chrome/browser/autocomplete/autocomplete_classifier.h"
26 #include "chrome/browser/background/background_contents_service_factory.h" 25 #include "chrome/browser/background/background_contents_service_factory.h"
27 #include "chrome/browser/background/background_mode_manager.h" 26 #include "chrome/browser/background/background_mode_manager.h"
28 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h" 27 #include "chrome/browser/bookmarks/base_bookmark_model_observer.h"
(...skipping 1137 matching lines...) Expand 10 before | Expand all | Expand 10 after
1166 FilePath* cache_path, 1165 FilePath* cache_path,
1167 int* max_size) { 1166 int* max_size) {
1168 DCHECK(cache_path); 1167 DCHECK(cache_path);
1169 DCHECK(max_size); 1168 DCHECK(max_size);
1170 FilePath path(prefs_->GetFilePath(prefs::kDiskCacheDir)); 1169 FilePath path(prefs_->GetFilePath(prefs::kDiskCacheDir));
1171 if (!path.empty()) 1170 if (!path.empty())
1172 *cache_path = path; 1171 *cache_path = path;
1173 *max_size = is_media_context ? prefs_->GetInteger(prefs::kMediaCacheSize) : 1172 *max_size = is_media_context ? prefs_->GetInteger(prefs::kMediaCacheSize) :
1174 prefs_->GetInteger(prefs::kDiskCacheSize); 1173 prefs_->GetInteger(prefs::kDiskCacheSize);
1175 } 1174 }
OLDNEW
« no previous file with comments | « chrome/browser/metrics/thread_watcher_unittest.cc ('k') | chrome/browser/shell_integration_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698