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

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

Issue 10387155: Web Intents: Remove the flag and compile-time define. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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 | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/ui/browser.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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 #endif 222 #endif
223 SpellCheckFactory::GetInstance(); 223 SpellCheckFactory::GetInstance();
224 TabRestoreServiceFactory::GetInstance(); 224 TabRestoreServiceFactory::GetInstance();
225 TemplateURLFetcherFactory::GetInstance(); 225 TemplateURLFetcherFactory::GetInstance();
226 TemplateURLServiceFactory::GetInstance(); 226 TemplateURLServiceFactory::GetInstance();
227 #if defined(ENABLE_THEMES) 227 #if defined(ENABLE_THEMES)
228 ThemeServiceFactory::GetInstance(); 228 ThemeServiceFactory::GetInstance();
229 #endif 229 #endif
230 TokenServiceFactory::GetInstance(); 230 TokenServiceFactory::GetInstance();
231 UserStyleSheetWatcherFactory::GetInstance(); 231 UserStyleSheetWatcherFactory::GetInstance();
232 #if defined(ENABLE_WEB_INTENTS) 232 WebDataServiceFactory::GetInstance();
233 WebIntentsRegistryFactory::GetInstance(); 233 WebIntentsRegistryFactory::GetInstance();
234 #endif
235 WebDataServiceFactory::GetInstance();
236 234
237 built_factories_ = true; 235 built_factories_ = true;
238 } 236 }
239 237
240 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) { 238 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) {
241 #if !defined(NDEBUG) 239 #if !defined(NDEBUG)
242 // Whenever we try to build a destruction ordering, we should also dump a 240 // Whenever we try to build a destruction ordering, we should also dump a
243 // dependency graph to "/path/to/profile/profile-dependencies.dot". 241 // dependency graph to "/path/to/profile/profile-dependencies.dot".
244 if (CommandLine::ForCurrentProcess()->HasSwitch( 242 if (CommandLine::ForCurrentProcess()->HasSwitch(
245 switches::kDumpProfileDependencyGraph)) { 243 switches::kDumpProfileDependencyGraph)) {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 } 338 }
341 339
342 result.append("\n /* Toplevel profile */\n"); 340 result.append("\n /* Toplevel profile */\n");
343 result.append(" Profile [shape=box];\n"); 341 result.append(" Profile [shape=box];\n");
344 342
345 result.append("}\n"); 343 result.append("}\n");
346 return result; 344 return result;
347 } 345 }
348 346
349 #endif 347 #endif
OLDNEW
« no previous file with comments | « chrome/browser/prefs/browser_prefs.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698