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

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

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/test_chrome_browser_provider.h ('k') | ios/public/test/test_chrome_provider_initializer.h » ('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.mm
diff --git a/ios/public/test/test_chrome_browser_provider.mm b/ios/public/test/test_chrome_browser_provider.mm
deleted file mode 100644
index 5220024b0e284a55acb1b90a19604fe764d89e6f..0000000000000000000000000000000000000000
--- a/ios/public/test/test_chrome_browser_provider.mm
+++ /dev/null
@@ -1,44 +0,0 @@
-// Copyright 2013 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.
-
-#include "ios/public/test/test_chrome_browser_provider.h"
-
-#include "base/logging.h"
-#include "components/signin/ios/browser/fake_profile_oauth2_token_service_ios_provider.h"
-#include "ios/public/provider/chrome/browser/signin/chrome_identity_service.h"
-#import "ios/public/test/test_updatable_resource_provider.h"
-
-namespace ios {
-
-TestChromeBrowserProvider::TestChromeBrowserProvider()
- : oauth2_token_service_provider_(
- new FakeProfileOAuth2TokenServiceIOSProvider),
- chrome_identity_service_(new ios::ChromeIdentityService),
- test_updatable_resource_provider_(new TestUpdatableResourceProvider) {}
-
-TestChromeBrowserProvider::~TestChromeBrowserProvider() {
-}
-
-// static
-TestChromeBrowserProvider* TestChromeBrowserProvider::GetTestProvider() {
- ChromeBrowserProvider* provider = GetChromeBrowserProvider();
- DCHECK(provider);
- return static_cast<TestChromeBrowserProvider*>(provider);
-}
-
-ProfileOAuth2TokenServiceIOSProvider*
-TestChromeBrowserProvider::GetProfileOAuth2TokenServiceIOSProvider() {
- return oauth2_token_service_provider_.get();
-}
-
-ChromeIdentityService* TestChromeBrowserProvider::GetChromeIdentityService() {
- return chrome_identity_service_.get();
-}
-
-UpdatableResourceProvider*
-TestChromeBrowserProvider::GetUpdatableResourceProvider() {
- return test_updatable_resource_provider_.get();
-}
-
-} // namespace ios
« no previous file with comments | « ios/public/test/test_chrome_browser_provider.h ('k') | ios/public/test/test_chrome_provider_initializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698