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

Side by Side Diff: chrome/browser/profiles/profile.cc

Issue 7467012: Modifying prefetch to account for multi-profile. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Modifying prefetch to account for multi-profile. Created 9 years, 3 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) 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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698