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

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

Issue 10540033: Add ENABLE_PRINTING and disable it on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: In gyps Created 8 years, 6 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) 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 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 if (built_factories_) 178 if (built_factories_)
179 return; 179 return;
180 180
181 #if defined(ENABLE_BACKGROUND) 181 #if defined(ENABLE_BACKGROUND)
182 BackgroundContentsServiceFactory::GetInstance(); 182 BackgroundContentsServiceFactory::GetInstance();
183 #endif 183 #endif
184 #if !defined(OS_ANDROID) 184 #if !defined(OS_ANDROID)
185 captive_portal::CaptivePortalServiceFactory::GetInstance(); 185 captive_portal::CaptivePortalServiceFactory::GetInstance();
186 #endif 186 #endif
187 ChromeURLDataManagerFactory::GetInstance(); 187 ChromeURLDataManagerFactory::GetInstance();
188 #if !defined(OS_ANDROID) 188 #if defined(ENABLE_PRINTING)
189 CloudPrintProxyServiceFactory::GetInstance(); 189 CloudPrintProxyServiceFactory::GetInstance();
190 #endif 190 #endif
191 CookieSettings::Factory::GetInstance(); 191 CookieSettings::Factory::GetInstance();
192 #if defined(ENABLE_NOTIFICATIONS) 192 #if defined(ENABLE_NOTIFICATIONS)
193 DesktopNotificationServiceFactory::GetInstance(); 193 DesktopNotificationServiceFactory::GetInstance();
194 #endif 194 #endif
195 DownloadServiceFactory::GetInstance(); 195 DownloadServiceFactory::GetInstance();
196 extensions::CommandServiceFactory::GetInstance(); 196 extensions::CommandServiceFactory::GetInstance();
197 extensions::SuggestedLinksRegistryFactory::GetInstance(); 197 extensions::SuggestedLinksRegistryFactory::GetInstance();
198 ExtensionSystemFactory::GetInstance(); 198 ExtensionSystemFactory::GetInstance();
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 } 342 }
343 343
344 result.append("\n /* Toplevel profile */\n"); 344 result.append("\n /* Toplevel profile */\n");
345 result.append(" Profile [shape=box];\n"); 345 result.append(" Profile [shape=box];\n");
346 346
347 result.append("}\n"); 347 result.append("}\n");
348 return result; 348 return result;
349 } 349 }
350 350
351 #endif 351 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698