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

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: Exclude 'browser/intents' from Android build as well. 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
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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 ProfileSyncServiceFactory::GetInstance(); 180 ProfileSyncServiceFactory::GetInstance();
181 SessionServiceFactory::GetInstance(); 181 SessionServiceFactory::GetInstance();
182 SigninManagerFactory::GetInstance(); 182 SigninManagerFactory::GetInstance();
183 #if defined(ENABLE_INPUT_SPEECH) 183 #if defined(ENABLE_INPUT_SPEECH)
184 SpeechInputExtensionManager::InitializeFactory(); 184 SpeechInputExtensionManager::InitializeFactory();
185 #endif 185 #endif
186 SpellCheckFactory::GetInstance(); 186 SpellCheckFactory::GetInstance();
187 TabRestoreServiceFactory::GetInstance(); 187 TabRestoreServiceFactory::GetInstance();
188 ThemeServiceFactory::GetInstance(); 188 ThemeServiceFactory::GetInstance();
189 TemplateURLServiceFactory::GetInstance(); 189 TemplateURLServiceFactory::GetInstance();
190 #if !defined(OS_ANDROID)
190 WebIntentsRegistryFactory::GetInstance(); 191 WebIntentsRegistryFactory::GetInstance();
192 #endif
191 193
192 built_factories_ = true; 194 built_factories_ = true;
193 } 195 }
194 196
195 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) { 197 void ProfileDependencyManager::BuildDestructionOrder(Profile* profile) {
196 #if !defined(NDEBUG) 198 #if !defined(NDEBUG)
197 // Whenever we try to build a destruction ordering, we should also dump a 199 // Whenever we try to build a destruction ordering, we should also dump a
198 // dependency graph to "/path/to/profile/profile-dependencies.dot". 200 // dependency graph to "/path/to/profile/profile-dependencies.dot".
199 if (CommandLine::ForCurrentProcess()->HasSwitch( 201 if (CommandLine::ForCurrentProcess()->HasSwitch(
200 switches::kDumpProfileDependencyGraph)) { 202 switches::kDumpProfileDependencyGraph)) {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 } 297 }
296 298
297 result.append("\n /* Toplevel profile */\n"); 299 result.append("\n /* Toplevel profile */\n");
298 result.append(" Profile [shape=box];\n"); 300 result.append(" Profile [shape=box];\n");
299 301
300 result.append("}\n"); 302 result.append("}\n");
301 return result; 303 return result;
302 } 304 }
303 305
304 #endif 306 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698