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

Side by Side Diff: chrome/browser/custom_handlers/protocol_handler_registry_factory.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 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 (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/custom_handlers/protocol_handler_registry_factory.h" 5 #include "chrome/browser/custom_handlers/protocol_handler_registry_factory.h"
6 6
7 #include "base/memory/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "build/build_config.h"
8 #include "chrome/browser/custom_handlers/protocol_handler_registry.h" 9 #include "chrome/browser/custom_handlers/protocol_handler_registry.h"
9 #include "chrome/browser/profiles/incognito_helpers.h" 10 #include "chrome/browser/profiles/incognito_helpers.h"
10 #include "components/keyed_service/content/browser_context_dependency_manager.h" 11 #include "components/keyed_service/content/browser_context_dependency_manager.h"
11 12
12 // static 13 // static
13 ProtocolHandlerRegistryFactory* ProtocolHandlerRegistryFactory::GetInstance() { 14 ProtocolHandlerRegistryFactory* ProtocolHandlerRegistryFactory::GetInstance() {
14 return base::Singleton<ProtocolHandlerRegistryFactory>::get(); 15 return base::Singleton<ProtocolHandlerRegistryFactory>::get();
15 } 16 }
16 17
17 // static 18 // static
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // If installing defaults, they must be installed prior calling 61 // If installing defaults, they must be installed prior calling
61 // InitProtocolSettings 62 // InitProtocolSettings
62 registry->InstallDefaultsForChromeOS(); 63 registry->InstallDefaultsForChromeOS();
63 #endif 64 #endif
64 65
65 // Must be called as a part of the creation process. 66 // Must be called as a part of the creation process.
66 registry->InitProtocolSettings(); 67 registry->InitProtocolSettings();
67 68
68 return registry; 69 return registry;
69 } 70 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698