OLD | NEW |
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 "chrome/browser/profile.h" | 5 #include "chrome/browser/profile.h" |
6 | 6 |
7 #include "app/resource_bundle.h" | 7 #include "app/resource_bundle.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/env_var.h" | |
10 #include "base/file_path.h" | 9 #include "base/file_path.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/scoped_ptr.h" | 12 #include "base/scoped_ptr.h" |
14 #include "base/string_util.h" | 13 #include "base/string_util.h" |
15 #include "chrome/browser/background_contents_service.h" | 14 #include "chrome/browser/background_contents_service.h" |
16 #include "chrome/browser/browser_list.h" | 15 #include "chrome/browser/browser_list.h" |
17 #include "chrome/browser/browser_process.h" | 16 #include "chrome/browser/browser_process.h" |
18 #include "chrome/browser/browser_theme_provider.h" | 17 #include "chrome/browser/browser_theme_provider.h" |
19 #include "chrome/browser/chrome_thread.h" | 18 #include "chrome/browser/chrome_thread.h" |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 // Tracks all BackgroundContents running under this profile. | 541 // Tracks all BackgroundContents running under this profile. |
543 scoped_ptr<BackgroundContentsService> background_contents_service_; | 542 scoped_ptr<BackgroundContentsService> background_contents_service_; |
544 | 543 |
545 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); | 544 DISALLOW_COPY_AND_ASSIGN(OffTheRecordProfileImpl); |
546 }; | 545 }; |
547 | 546 |
548 Profile *Profile::CreateOffTheRecordProfile() { | 547 Profile *Profile::CreateOffTheRecordProfile() { |
549 return new OffTheRecordProfileImpl(this); | 548 return new OffTheRecordProfileImpl(this); |
550 } | 549 } |
551 | 550 |
OLD | NEW |