| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_ | 6 #define CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_ |
| 7 | 7 |
| 8 #include <ostream> | 8 #include <ostream> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| 11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
| 12 #include "base/prefs/pref_change_registrar.h" |
| 12 #include "base/threading/thread_checker.h" | 13 #include "base/threading/thread_checker.h" |
| 13 #include "chrome/browser/chromeos/arc/arc_auth_ui.h" | 14 #include "chrome/browser/chromeos/arc/arc_auth_ui.h" |
| 14 #include "components/arc/arc_bridge_service.h" | 15 #include "components/arc/arc_bridge_service.h" |
| 15 #include "components/arc/arc_service.h" | 16 #include "components/arc/arc_service.h" |
| 16 #include "components/arc/auth/arc_auth_fetcher.h" | 17 #include "components/arc/auth/arc_auth_fetcher.h" |
| 17 #include "components/arc/common/auth.mojom.h" | 18 #include "components/arc/common/auth.mojom.h" |
| 18 #include "components/prefs/pref_change_registrar.h" | |
| 19 #include "mojo/public/cpp/bindings/binding.h" | 19 #include "mojo/public/cpp/bindings/binding.h" |
| 20 | 20 |
| 21 class PrefService; | 21 class PrefService; |
| 22 class Profile; | 22 class Profile; |
| 23 | 23 |
| 24 namespace user_prefs { | 24 namespace user_prefs { |
| 25 class PrefRegistrySyncable; | 25 class PrefRegistrySyncable; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace arc { | 28 namespace arc { |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 std::string auth_code_; | 114 std::string auth_code_; |
| 115 | 115 |
| 116 DISALLOW_COPY_AND_ASSIGN(ArcAuthService); | 116 DISALLOW_COPY_AND_ASSIGN(ArcAuthService); |
| 117 }; | 117 }; |
| 118 | 118 |
| 119 std::ostream& operator<<(std::ostream& os, const ArcAuthService::State& state); | 119 std::ostream& operator<<(std::ostream& os, const ArcAuthService::State& state); |
| 120 | 120 |
| 121 } // namespace arc | 121 } // namespace arc |
| 122 | 122 |
| 123 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_ | 123 #endif // CHROME_BROWSER_CHROMEOS_ARC_ARC_AUTH_SERVICE_H_ |
| OLD | NEW |