| 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_SYNC_TEST_INTEGRATION_SYNC_ARC_PACKAGE_HELPER_H_ | 5 #ifndef CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_ARC_PACKAGE_HELPER_H_ |
| 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_ARC_PACKAGE_HELPER_H_ | 6 #define CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_ARC_PACKAGE_HELPER_H_ |
| 7 | 7 |
| 8 #include <memory> |
| 9 #include <string> |
| 8 #include <unordered_map> | 10 #include <unordered_map> |
| 9 | 11 |
| 10 #include "base/macros.h" | 12 #include "base/macros.h" |
| 11 #include "base/memory/singleton.h" | 13 #include "base/memory/singleton.h" |
| 12 #include "components/arc/common/app.mojom.h" | 14 #include "components/arc/common/app.mojom.h" |
| 13 | 15 |
| 14 class Profile; | 16 class Profile; |
| 15 class SyncTest; | 17 class SyncTest; |
| 16 | 18 |
| 17 namespace arc{ | 19 namespace arc { |
| 18 class FakeAppInstance; | 20 class FakeAppInstance; |
| 19 } | 21 } |
| 20 | 22 |
| 21 namespace chromeos { | 23 namespace chromeos { |
| 22 class ScopedUserManagerEnabler; | 24 class ScopedUserManagerEnabler; |
| 23 } | 25 } |
| 24 | 26 |
| 25 namespace arc { | 27 namespace arc { |
| 26 | 28 |
| 27 class SyncArcPackageHelper { | 29 class SyncArcPackageHelper { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 std::unordered_map<Profile*, std::unique_ptr<FakeAppInstance>> instance_map_; | 69 std::unordered_map<Profile*, std::unique_ptr<FakeAppInstance>> instance_map_; |
| 68 | 70 |
| 69 std::unique_ptr<chromeos::ScopedUserManagerEnabler> user_manager_enabler_; | 71 std::unique_ptr<chromeos::ScopedUserManagerEnabler> user_manager_enabler_; |
| 70 | 72 |
| 71 DISALLOW_COPY_AND_ASSIGN(SyncArcPackageHelper); | 73 DISALLOW_COPY_AND_ASSIGN(SyncArcPackageHelper); |
| 72 }; | 74 }; |
| 73 | 75 |
| 74 } // namespace arc | 76 } // namespace arc |
| 75 | 77 |
| 76 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_ARC_PACKAGE_HELPER_H_ | 78 #endif // CHROME_BROWSER_SYNC_TEST_INTEGRATION_SYNC_ARC_PACKAGE_HELPER_H_ |
| OLD | NEW |