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

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

Issue 9695043: Guard off two more places for ENABLE_NOTIFICATIONS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
« no previous file with comments | « no previous file | chrome/test/base/testing_browser_process.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_dependency_manager.h" 5 #include "chrome/browser/profiles/profile_dependency_manager.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 #include <iterator> 9 #include <iterator>
10 10
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 // FooServiceFactory here will scale or is desireable long term. 162 // FooServiceFactory here will scale or is desireable long term.
163 void ProfileDependencyManager::AssertFactoriesBuilt() { 163 void ProfileDependencyManager::AssertFactoriesBuilt() {
164 if (built_factories_) 164 if (built_factories_)
165 return; 165 return;
166 166
167 BackgroundContentsServiceFactory::GetInstance(); 167 BackgroundContentsServiceFactory::GetInstance();
168 #if !defined(OS_ANDROID) 168 #if !defined(OS_ANDROID)
169 CloudPrintProxyServiceFactory::GetInstance(); 169 CloudPrintProxyServiceFactory::GetInstance();
170 #endif 170 #endif
171 CookieSettings::Factory::GetInstance(); 171 CookieSettings::Factory::GetInstance();
172 #if defined(ENABLE_NOTIFICATIONS)
172 DesktopNotificationServiceFactory::GetInstance(); 173 DesktopNotificationServiceFactory::GetInstance();
174 #endif
173 DownloadServiceFactory::GetInstance(); 175 DownloadServiceFactory::GetInstance();
174 FindBarStateFactory::GetInstance(); 176 FindBarStateFactory::GetInstance();
175 GlobalErrorServiceFactory::GetInstance(); 177 GlobalErrorServiceFactory::GetInstance();
176 NetworkActionPredictorFactory::GetInstance(); 178 NetworkActionPredictorFactory::GetInstance();
177 NTPResourceCacheFactory::GetInstance(); 179 NTPResourceCacheFactory::GetInstance();
178 PersonalDataManagerFactory::GetInstance(); 180 PersonalDataManagerFactory::GetInstance();
179 PinnedTabServiceFactory::GetInstance(); 181 PinnedTabServiceFactory::GetInstance();
180 PluginPrefsFactory::GetInstance(); 182 PluginPrefsFactory::GetInstance();
181 protector::ProtectorServiceFactory::GetInstance(); 183 protector::ProtectorServiceFactory::GetInstance();
182 prerender::PrerenderManagerFactory::GetInstance(); 184 prerender::PrerenderManagerFactory::GetInstance();
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
299 } 301 }
300 302
301 result.append("\n /* Toplevel profile */\n"); 303 result.append("\n /* Toplevel profile */\n");
302 result.append(" Profile [shape=box];\n"); 304 result.append(" Profile [shape=box];\n");
303 305
304 result.append("}\n"); 306 result.append("}\n");
305 return result; 307 return result;
306 } 308 }
307 309
308 #endif 310 #endif
OLDNEW
« no previous file with comments | « no previous file | chrome/test/base/testing_browser_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698