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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 return is_guest_session; | 218 return is_guest_session; |
219 #else | 219 #else |
220 return false; | 220 return false; |
221 #endif | 221 #endif |
222 } | 222 } |
223 | 223 |
224 bool Profile::IsSyncAccessible() { | 224 bool Profile::IsSyncAccessible() { |
225 ProfileSyncService* syncService = GetProfileSyncService(); | 225 ProfileSyncService* syncService = GetProfileSyncService(); |
226 return syncService && !syncService->IsManaged(); | 226 return syncService && !syncService->IsManaged(); |
227 } | 227 } |
| 228 |
| 229 chrome_browser_net::Predictor* Profile::GetNetworkPredictor() { |
| 230 return NULL; |
| 231 } |
OLD | NEW |