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

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

Issue 2819063: Cleanup: Remove unneeded headers from app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: forward declare Created 10 years, 4 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
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "app/l10n_util.h"
10 #include "base/command_line.h" 9 #include "base/command_line.h"
11 #include "base/file_util.h" 10 #include "base/file_util.h"
12 #include "base/path_service.h" 11 #include "base/path_service.h"
13 #include "base/string_util.h" 12 #include "base/string_util.h"
14 #include "chrome/browser/browser.h" 13 #include "chrome/browser/browser.h"
15 #include "chrome/browser/browser_list.h" 14 #include "chrome/browser/browser_list.h"
16 #include "chrome/browser/browser_process.h" 15 #include "chrome/browser/browser_process.h"
17 #include "chrome/browser/browser_window.h" 16 #include "chrome/browser/browser_window.h"
18 #include "chrome/browser/chrome_thread.h" 17 #include "chrome/browser/chrome_thread.h"
19 #include "chrome/browser/pref_service.h" 18 #include "chrome/browser/pref_service.h"
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
286 if (!file_util::PathExists(path)) { 285 if (!file_util::PathExists(path)) {
287 // TODO(tc): http://b/1094718 Bad things happen if we can't write to the 286 // TODO(tc): http://b/1094718 Bad things happen if we can't write to the
288 // profile directory. We should eventually be able to run in this 287 // profile directory. We should eventually be able to run in this
289 // situation. 288 // situation.
290 if (!file_util::CreateDirectory(path)) 289 if (!file_util::CreateDirectory(path))
291 return NULL; 290 return NULL;
292 } 291 }
293 292
294 return Profile::CreateProfile(path); 293 return Profile::CreateProfile(path);
295 } 294 }
OLDNEW
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698