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

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

Issue 8342048: Make NotificationService an interface in the content namespace, and switch callers to use it. Mov... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "content/browser/appcache/chrome_appcache_service.h" 47 #include "content/browser/appcache/chrome_appcache_service.h"
48 #include "content/browser/browser_thread.h" 48 #include "content/browser/browser_thread.h"
49 #include "content/browser/chrome_blob_storage_context.h" 49 #include "content/browser/chrome_blob_storage_context.h"
50 #include "content/browser/download/download_manager.h" 50 #include "content/browser/download/download_manager.h"
51 #include "content/browser/file_system/browser_file_system_helper.h" 51 #include "content/browser/file_system/browser_file_system_helper.h"
52 #include "content/browser/host_zoom_map.h" 52 #include "content/browser/host_zoom_map.h"
53 #include "content/browser/in_process_webkit/webkit_context.h" 53 #include "content/browser/in_process_webkit/webkit_context.h"
54 #include "content/browser/ssl/ssl_host_state.h" 54 #include "content/browser/ssl/ssl_host_state.h"
55 #include "content/browser/tab_contents/tab_contents.h" 55 #include "content/browser/tab_contents/tab_contents.h"
56 #include "content/browser/webui/web_ui.h" 56 #include "content/browser/webui/web_ui.h"
57 #include "content/common/notification_service.h"
58 #include "grit/locale_settings.h" 57 #include "grit/locale_settings.h"
59 #include "ui/base/resource/resource_bundle.h" 58 #include "ui/base/resource/resource_bundle.h"
60 #include "webkit/database/database_tracker.h" 59 #include "webkit/database/database_tracker.h"
61 #include "webkit/quota/quota_manager.h" 60 #include "webkit/quota/quota_manager.h"
62 61
63 #if defined(TOOLKIT_USES_GTK) 62 #if defined(TOOLKIT_USES_GTK)
64 #include "chrome/browser/ui/gtk/gtk_theme_service.h" 63 #include "chrome/browser/ui/gtk/gtk_theme_service.h"
65 #endif 64 #endif
66 65
67 #if defined(OS_CHROMEOS) 66 #if defined(OS_CHROMEOS)
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 return is_guest_session; 220 return is_guest_session;
222 #else 221 #else
223 return false; 222 return false;
224 #endif 223 #endif
225 } 224 }
226 225
227 bool Profile::IsSyncAccessible() { 226 bool Profile::IsSyncAccessible() {
228 ProfileSyncService* syncService = GetProfileSyncService(); 227 ProfileSyncService* syncService = GetProfileSyncService();
229 return syncService && !syncService->IsManaged(); 228 return syncService && !syncService->IsManaged();
230 } 229 }
OLDNEW
« no previous file with comments | « chrome/browser/profiles/off_the_record_profile_impl.cc ('k') | chrome/browser/profiles/profile_dependency_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698