| 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" | |
| 11 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
| 12 #include "chrome/common/chrome_constants.h" | 11 #include "chrome/common/chrome_constants.h" |
| 13 #include "chrome/common/chrome_switches.h" | 12 #include "chrome/common/chrome_switches.h" |
| 14 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
| 14 #include "extensions/browser/extension_system.h" |
| 15 #include "grit/browser_resources.h" | 15 #include "grit/browser_resources.h" |
| 16 | 16 |
| 17 #if defined(OS_CHROMEOS) | 17 #if defined(OS_CHROMEOS) |
| 18 #include "chrome/browser/chromeos/system/input_device_settings.h" | 18 #include "chrome/browser/chromeos/system/input_device_settings.h" |
| 19 #include "chromeos/chromeos_constants.h" | 19 #include "chromeos/chromeos_constants.h" |
| 20 #include "chromeos/chromeos_switches.h" | 20 #include "chromeos/chromeos_switches.h" |
| 21 #endif | 21 #endif |
| 22 | 22 |
| 23 using content::BrowserThread; | 23 using content::BrowserThread; |
| 24 | 24 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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.Pointer(); | 106 return g_factory.Pointer(); |
| 107 } | 107 } |
| 108 | 108 |
| 109 } // namespace extensions | 109 } // namespace extensions |
| OLD | NEW |