OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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.h" | 5 #include "chrome/browser/profiles/profile.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 859 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
870 }; | 870 }; |
871 #endif | 871 #endif |
872 | 872 |
873 Profile* Profile::CreateOffTheRecordProfile() { | 873 Profile* Profile::CreateOffTheRecordProfile() { |
874 #if defined(OS_CHROMEOS) | 874 #if defined(OS_CHROMEOS) |
875 if (Profile::IsGuestSession()) | 875 if (Profile::IsGuestSession()) |
876 return new GuestSessionProfile(this); | 876 return new GuestSessionProfile(this); |
877 #endif | 877 #endif |
878 return new OffTheRecordProfileImpl(this); | 878 return new OffTheRecordProfileImpl(this); |
879 } | 879 } |
| 880 |
| 881 chrome_browser_net::Predictor* Profile::GetNetworkPredictor() { |
| 882 return NULL; |
| 883 } |
OLD | NEW |