OLD | NEW |
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/managed_mode/chromeos/manager_password_service_factory.
h" | 5 #include "chrome/browser/managed_mode/chromeos/manager_password_service_factory.
h" |
6 | 6 |
7 #include "chrome/browser/chromeos/login/supervised_user_manager.h" | 7 #include "chrome/browser/chromeos/login/users/supervised_user_manager.h" |
8 #include "chrome/browser/chromeos/login/user.h" | 8 #include "chrome/browser/chromeos/login/users/user.h" |
9 #include "chrome/browser/chromeos/login/user_manager.h" | 9 #include "chrome/browser/chromeos/login/users/user_manager.h" |
10 #include "chrome/browser/managed_mode/chromeos/manager_password_service.h" | 10 #include "chrome/browser/managed_mode/chromeos/manager_password_service.h" |
11 #include "chrome/browser/managed_mode/managed_user_shared_settings_service_facto
ry.h" | 11 #include "chrome/browser/managed_mode/managed_user_shared_settings_service_facto
ry.h" |
12 #include "chrome/browser/managed_mode/managed_user_sync_service_factory.h" | 12 #include "chrome/browser/managed_mode/managed_user_sync_service_factory.h" |
13 #include "chrome/browser/profiles/incognito_helpers.h" | 13 #include "chrome/browser/profiles/incognito_helpers.h" |
14 #include "chrome/browser/profiles/profile.h" | 14 #include "chrome/browser/profiles/profile.h" |
15 #include "components/keyed_service/content/browser_context_dependency_manager.h" | 15 #include "components/keyed_service/content/browser_context_dependency_manager.h" |
16 | 16 |
17 namespace chromeos { | 17 namespace chromeos { |
18 | 18 |
19 // static | 19 // static |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 return NULL; | 57 return NULL; |
58 } | 58 } |
59 | 59 |
60 content::BrowserContext* | 60 content::BrowserContext* |
61 ManagerPasswordServiceFactory::GetBrowserContextToUse( | 61 ManagerPasswordServiceFactory::GetBrowserContextToUse( |
62 content::BrowserContext* context) const { | 62 content::BrowserContext* context) const { |
63 return chrome::GetBrowserContextRedirectedInIncognito(context); | 63 return chrome::GetBrowserContextRedirectedInIncognito(context); |
64 } | 64 } |
65 | 65 |
66 } // namespace chromeos | 66 } // namespace chromeos |
OLD | NEW |