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

Side by Side Diff: chrome/browser/recovery/recovery_install_global_error_factory.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/recovery/recovery_install_global_error_factory.h" 5 #include "chrome/browser/recovery/recovery_install_global_error_factory.h"
6 6
7 #include "build/build_config.h"
7 #include "chrome/browser/browser_process.h" 8 #include "chrome/browser/browser_process.h"
8 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/recovery/recovery_install_global_error.h" 10 #include "chrome/browser/recovery/recovery_install_global_error.h"
10 #include "chrome/browser/ui/global_error/global_error_service_factory.h" 11 #include "chrome/browser/ui/global_error/global_error_service_factory.h"
11 #include "components/keyed_service/content/browser_context_dependency_manager.h" 12 #include "components/keyed_service/content/browser_context_dependency_manager.h"
12 13
13 RecoveryInstallGlobalErrorFactory::RecoveryInstallGlobalErrorFactory() 14 RecoveryInstallGlobalErrorFactory::RecoveryInstallGlobalErrorFactory()
14 : BrowserContextKeyedServiceFactory( 15 : BrowserContextKeyedServiceFactory(
15 "RecoveryInstallGlobalError", 16 "RecoveryInstallGlobalError",
16 BrowserContextDependencyManager::GetInstance()) { 17 BrowserContextDependencyManager::GetInstance()) {
(...skipping 16 matching lines...) Expand all
33 } 34 }
34 35
35 KeyedService* RecoveryInstallGlobalErrorFactory::BuildServiceInstanceFor( 36 KeyedService* RecoveryInstallGlobalErrorFactory::BuildServiceInstanceFor(
36 content::BrowserContext* context) const { 37 content::BrowserContext* context) const {
37 #if defined(OS_WIN) || defined(OS_MACOSX) 38 #if defined(OS_WIN) || defined(OS_MACOSX)
38 return new RecoveryInstallGlobalError(static_cast<Profile*>(context)); 39 return new RecoveryInstallGlobalError(static_cast<Profile*>(context));
39 #else 40 #else
40 return NULL; 41 return NULL;
41 #endif 42 #endif
42 } 43 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698