| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/extensions/signin/gaia_auth_extension_loader.h" | 5 #include "chrome/browser/extensions/signin/gaia_auth_extension_loader.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "chrome/browser/extensions/component_loader.h" | 8 #include "chrome/browser/extensions/component_loader.h" |
| 9 #include "chrome/browser/extensions/extension_service.h" | 9 #include "chrome/browser/extensions/extension_service.h" |
| 10 #include "chrome/browser/extensions/extension_system.h" | 10 #include "chrome/browser/extensions/extension_system.h" |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 return ProfileKeyedAPIFactory<GaiaAuthExtensionLoader>::GetForProfile( | 96 return ProfileKeyedAPIFactory<GaiaAuthExtensionLoader>::GetForProfile( |
| 97 profile); | 97 profile); |
| 98 } | 98 } |
| 99 | 99 |
| 100 static base::LazyInstance<ProfileKeyedAPIFactory<GaiaAuthExtensionLoader> > | 100 static base::LazyInstance<ProfileKeyedAPIFactory<GaiaAuthExtensionLoader> > |
| 101 g_factory = LAZY_INSTANCE_INITIALIZER; | 101 g_factory = LAZY_INSTANCE_INITIALIZER; |
| 102 | 102 |
| 103 // static | 103 // static |
| 104 ProfileKeyedAPIFactory<GaiaAuthExtensionLoader>* | 104 ProfileKeyedAPIFactory<GaiaAuthExtensionLoader>* |
| 105 GaiaAuthExtensionLoader::GetFactoryInstance() { | 105 GaiaAuthExtensionLoader::GetFactoryInstance() { |
| 106 return &g_factory.Get(); | 106 return g_factory.Pointer(); |
| 107 } | 107 } |
| 108 | 108 |
| 109 } // namespace extensions | 109 } // namespace extensions |
| OLD | NEW |