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

Side by Side Diff: ios/public/test/test_chrome_browser_provider.h

Issue 840813009: Enable strict-virtual-specifiers for iOS builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_BROWSER_PROVIDER_H_ 5 #ifndef IOS_PUBLIC_TEST_TEST_CHROME_BROWSER_PROVIDER_H_
6 #define IOS_PUBLIC_TEST_TEST_CHROME_BROWSER_PROVIDER_H_ 6 #define IOS_PUBLIC_TEST_TEST_CHROME_BROWSER_PROVIDER_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h" 9 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h"
10 10
11 namespace ios { 11 namespace ios {
12 12
13 class FakeProfileOAuth2TokenServiceIOSProvider; 13 class FakeProfileOAuth2TokenServiceIOSProvider;
14 class FakeStringProvider; 14 class FakeStringProvider;
15 15
16 class TestChromeBrowserProvider : public ChromeBrowserProvider { 16 class TestChromeBrowserProvider : public ChromeBrowserProvider {
17 public: 17 public:
18 TestChromeBrowserProvider(); 18 TestChromeBrowserProvider();
19 virtual ~TestChromeBrowserProvider(); 19 ~TestChromeBrowserProvider() override;
20 20
21 // Returns the current provider as a |TestChromeBrowserProvider|. 21 // Returns the current provider as a |TestChromeBrowserProvider|.
22 static TestChromeBrowserProvider* GetTestProvider(); 22 static TestChromeBrowserProvider* GetTestProvider();
23 23
24 // ChromeBrowserProvider: 24 // ChromeBrowserProvider:
25 StringProvider* GetStringProvider() override; 25 StringProvider* GetStringProvider() override;
26 const char* GetChromeUIScheme() override; 26 const char* GetChromeUIScheme() override;
27 27
28 private: 28 private:
29 scoped_ptr<FakeStringProvider> string_provider_; 29 scoped_ptr<FakeStringProvider> string_provider_;
30 30
31 DISALLOW_COPY_AND_ASSIGN(TestChromeBrowserProvider); 31 DISALLOW_COPY_AND_ASSIGN(TestChromeBrowserProvider);
32 }; 32 };
33 33
34 } // namespace ios 34 } // namespace ios
35 35
36 #endif // IOS_PUBLIC_TEST_TEST_CHROME_BROWSER_PROVIDER_H_ 36 #endif // IOS_PUBLIC_TEST_TEST_CHROME_BROWSER_PROVIDER_H_
OLDNEW
« no previous file with comments | « ios/public/test/fake_profile_oauth2_token_service_ios_provider.h ('k') | ios/web/navigation/navigation_item_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698