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

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

Issue 9521013: Remove web intents from Chrome on Android build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix buildbot compile errors 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 | « 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 SessionServiceFactory::GetInstance(); 184 SessionServiceFactory::GetInstance();
185 SigninManagerFactory::GetInstance(); 185 SigninManagerFactory::GetInstance();
186 #if defined(ENABLE_INPUT_SPEECH) 186 #if defined(ENABLE_INPUT_SPEECH)
187 SpeechInputExtensionManager::InitializeFactory(); 187 SpeechInputExtensionManager::InitializeFactory();
188 #endif 188 #endif
189 SpellCheckFactory::GetInstance(); 189 SpellCheckFactory::GetInstance();
190 TabRestoreServiceFactory::GetInstance(); 190 TabRestoreServiceFactory::GetInstance();
191 ThemeServiceFactory::GetInstance(); 191 ThemeServiceFactory::GetInstance();
192 TemplateURLServiceFactory::GetInstance(); 192 TemplateURLServiceFactory::GetInstance();
193 TokenServiceFactory::GetInstance(); 193 TokenServiceFactory::GetInstance();
194 #if defined(ENABLE_WEB_INTENTS)
194 WebIntentsRegistryFactory::GetInstance(); 195 WebIntentsRegistryFactory::GetInstance();
196 #endif
195 197
196 built_factories_ = true; 198 built_factories_ = true;
197 } 199 }
198 200
199 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) { 201 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) {
200 #if !defined(NDEBUG) 202 #if !defined(NDEBUG)
201 // Whenever we try to build a destruction ordering, we should also dump a 203 // Whenever we try to build a destruction ordering, we should also dump a
202 // dependency graph to "/path/to/profile/profile-dependencies.dot". 204 // dependency graph to "/path/to/profile/profile-dependencies.dot".
203 if (CommandLine::ForCurrentProcess()->HasSwitch( 205 if (CommandLine::ForCurrentProcess()->HasSwitch(
204 switches::kDumpProfileDependencyGraph)) { 206 switches::kDumpProfileDependencyGraph)) {
(...skipping 94 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 | « 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