| OLD | NEW |
| 1 // Copyright 2013 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 IOS_PUBLIC_TEST_TEST_CHROME_PROVIDER_INITIALIZER_H_ | 5 #ifndef IOS_PUBLIC_TEST_TEST_CHROME_PROVIDER_INITIALIZER_H_ |
| 6 #define IOS_PUBLIC_TEST_TEST_CHROME_PROVIDER_INITIALIZER_H_ | 6 #define IOS_PUBLIC_TEST_TEST_CHROME_PROVIDER_INITIALIZER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 // This is a forwarding header to avoid breaking Chrome on iOS downstream |
| 9 #include "base/memory/scoped_ptr.h" | 9 // during merge. The header will be removed once all downstream code has |
| 10 | 10 // been ported to use the new path. |
| 11 namespace ios { | 11 #include "ios/public/provider/chrome/browser/test_chrome_provider_initializer.h" |
| 12 | |
| 13 class TestChromeBrowserProvider; | |
| 14 | |
| 15 // Initializes various objects needed to run unit tests that use ios:: | |
| 16 // objects. Currently this includes setting up the chrome browser provider as | |
| 17 // a |TestChromeBrowserProvider|. | |
| 18 class TestChromeProviderInitializer { | |
| 19 public: | |
| 20 TestChromeProviderInitializer(); | |
| 21 virtual ~TestChromeProviderInitializer(); | |
| 22 | |
| 23 private: | |
| 24 scoped_ptr<TestChromeBrowserProvider> chrome_browser_provider_; | |
| 25 | |
| 26 DISALLOW_COPY_AND_ASSIGN(TestChromeProviderInitializer); | |
| 27 }; | |
| 28 | |
| 29 } // namespace ios | |
| 30 | 12 |
| 31 #endif // IOS_PUBLIC_TEST_TEST_CHROME_PROVIDER_INITIALIZER_H_ | 13 #endif // IOS_PUBLIC_TEST_TEST_CHROME_PROVIDER_INITIALIZER_H_ |
| OLD | NEW |