Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Unified Diff: ios/public/test/test_chrome_browser_provider.h

Issue 1663783002: Remove the //ios/public/test target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ios_tests
Patch Set: Add missing forwarding-header Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/public/test/fake_sync_service_factory.cc ('k') | ios/public/test/test_chrome_browser_provider.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/public/test/test_chrome_browser_provider.h
diff --git a/ios/public/test/test_chrome_browser_provider.h b/ios/public/test/test_chrome_browser_provider.h
index 18883ddc2ad321c4329331e1213e03741307873e..97fa4d5049c8afbdd9f3222727e6a845b0255510 100644
--- a/ios/public/test/test_chrome_browser_provider.h
+++ b/ios/public/test/test_chrome_browser_provider.h
@@ -1,43 +1,13 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
+// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef IOS_PUBLIC_TEST_TEST_CHROME_BROWSER_PROVIDER_H_
#define IOS_PUBLIC_TEST_TEST_CHROME_BROWSER_PROVIDER_H_
-#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
-#include "ios/public/provider/chrome/browser/chrome_browser_provider.h"
-
-class FakeProfileOAuth2TokenServiceIOSProvider;
-
-namespace ios {
-
-class TestUpdatableResourceProvider;
-
-class TestChromeBrowserProvider : public ChromeBrowserProvider {
- public:
- TestChromeBrowserProvider();
- ~TestChromeBrowserProvider() override;
-
- // Returns the current provider as a |TestChromeBrowserProvider|.
- static TestChromeBrowserProvider* GetTestProvider();
-
- // ChromeBrowserProvider:
- ProfileOAuth2TokenServiceIOSProvider*
- GetProfileOAuth2TokenServiceIOSProvider() override;
- ChromeIdentityService* GetChromeIdentityService() override;
- UpdatableResourceProvider* GetUpdatableResourceProvider() override;
-
- private:
- scoped_ptr<FakeProfileOAuth2TokenServiceIOSProvider>
- oauth2_token_service_provider_;
- scoped_ptr<ChromeIdentityService> chrome_identity_service_;
- scoped_ptr<TestUpdatableResourceProvider> test_updatable_resource_provider_;
-
- DISALLOW_COPY_AND_ASSIGN(TestChromeBrowserProvider);
-};
-
-} // namespace ios
+// This is a forwarding header to avoid breaking Chrome on iOS downstream
+// during merge. The header will be removed once all downstream code has
+// been ported to use the new path.
+#include "ios/public/provider/chrome/browser/test_chrome_browser_provider.h"
#endif // IOS_PUBLIC_TEST_TEST_CHROME_BROWSER_PROVIDER_H_
« no previous file with comments | « ios/public/test/fake_sync_service_factory.cc ('k') | ios/public/test/test_chrome_browser_provider.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698