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

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

Issue 826803003: Cleanup in ios/chrome and ios/public/test. (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
« no previous file with comments | « ios/ios_tests.gyp ('k') | ios/public/test/test_chrome_provider_initializer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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"
9 #include "base/memory/scoped_ptr.h"
10
8 namespace ios { 11 namespace ios {
9 12
10 class TestChromeBrowserProvider; 13 class TestChromeBrowserProvider;
11 14
12 // Initializes various objects needed to run unit tests that use ios:: 15 // Initializes various objects needed to run unit tests that use ios::
13 // objects. Currently this includes setting up the chrome browser provider as 16 // objects. Currently this includes setting up the chrome browser provider as
14 // a |TestChromeBrowserProvider|. 17 // a |TestChromeBrowserProvider|.
15 class TestChromeProviderInitializer { 18 class TestChromeProviderInitializer {
16 public: 19 public:
17 TestChromeProviderInitializer(); 20 TestChromeProviderInitializer();
18 virtual ~TestChromeProviderInitializer(); 21 virtual ~TestChromeProviderInitializer();
19 22
20 private: 23 private:
21 TestChromeBrowserProvider* chrome_browser_provider_; 24 scoped_ptr<TestChromeBrowserProvider> chrome_browser_provider_;
25
26 DISALLOW_COPY_AND_ASSIGN(TestChromeProviderInitializer);
22 }; 27 };
23 28
24 } // namespace ios 29 } // namespace ios
25 30
26 #endif // IOS_PUBLIC_TEST_TEST_CHROME_PROVIDER_INITIALIZER_H_ 31 #endif // IOS_PUBLIC_TEST_TEST_CHROME_PROVIDER_INITIALIZER_H_
OLDNEW
« no previous file with comments | « ios/ios_tests.gyp ('k') | ios/public/test/test_chrome_provider_initializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698