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

Side by Side Diff: chrome/browser/profile_manager.cc

Issue 20378: Reduce the amount of included header files. Vast change like in "Oh God! This... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 <set> 5 #include <set>
6 6
7 #include "chrome/browser/profile_manager.h" 7 #include "chrome/browser/profile_manager.h"
8 8
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "chrome/browser/browser.h" 12 #include "chrome/browser/browser.h"
13 #include "chrome/browser/browser_list.h" 13 #include "chrome/browser/browser_list.h"
14 #include "chrome/browser/browser_process.h" 14 #include "chrome/browser/browser_process.h"
15 #include "chrome/browser/chrome_thread.h" 15 #include "chrome/browser/chrome_thread.h"
16 #include "chrome/common/chrome_constants.h" 16 #include "chrome/common/chrome_constants.h"
17 #include "chrome/common/chrome_paths.h" 17 #include "chrome/common/chrome_paths.h"
18 #include "chrome/common/l10n_util.h" 18 #include "chrome/common/l10n_util.h"
19 #include "chrome/common/logging_chrome.h" 19 #include "chrome/common/logging_chrome.h"
20 #include "chrome/common/pref_names.h" 20 #include "chrome/common/pref_names.h"
21 #include "chrome/common/pref_service.h" 21 #include "chrome/common/pref_service.h"
22 #include "net/http/http_transaction_factory.h"
22 #include "net/url_request/url_request_context.h" 23 #include "net/url_request/url_request_context.h"
23 #include "net/url_request/url_request_job.h" 24 #include "net/url_request/url_request_job.h"
24 #include "net/url_request/url_request_job_tracker.h" 25 #include "net/url_request/url_request_job_tracker.h"
25 26
26 #include "generated_resources.h" 27 #include "generated_resources.h"
27 28
28 #if defined(OS_POSIX) 29 #if defined(OS_POSIX)
29 // TODO(port): get rid of this include. It's used just to provide declarations 30 // TODO(port): get rid of this include. It's used just to provide declarations
30 // and stub definitions for classes we encouter during the porting effort. 31 // and stub definitions for classes we encouter during the porting effort.
31 #include "chrome/common/temp_scaffolding_stubs.h" 32 #include "chrome/common/temp_scaffolding_stubs.h"
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 return profile; 332 return profile;
332 } 333 }
333 334
334 // static 335 // static
335 std::wstring ProfileManager::CanonicalizeID(const std::wstring& id) { 336 std::wstring ProfileManager::CanonicalizeID(const std::wstring& id) {
336 std::wstring no_whitespace; 337 std::wstring no_whitespace;
337 TrimWhitespace(id, TRIM_ALL, &no_whitespace); 338 TrimWhitespace(id, TRIM_ALL, &no_whitespace);
338 return StringToLowerASCII(no_whitespace); 339 return StringToLowerASCII(no_whitespace);
339 } 340 }
340 341
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698