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

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: 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/memory/scoped_ptr.h"
9
8 namespace ios { 10 namespace ios {
9 11
10 class TestChromeBrowserProvider; 12 class TestChromeBrowserProvider;
11 13
12 // Initializes various objects needed to run unit tests that use ios:: 14 // Initializes various objects needed to run unit tests that use ios::
13 // objects. Currently this includes setting up the chrome browser provider as 15 // objects. Currently this includes setting up the chrome browser provider as
14 // a |TestChromeBrowserProvider|. 16 // a |TestChromeBrowserProvider|.
15 class TestChromeProviderInitializer { 17 class TestChromeProviderInitializer {
16 public: 18 public:
17 TestChromeProviderInitializer(); 19 TestChromeProviderInitializer();
18 virtual ~TestChromeProviderInitializer(); 20 virtual ~TestChromeProviderInitializer();
19 21
20 private: 22 private:
21 TestChromeBrowserProvider* chrome_browser_provider_; 23 scoped_ptr<TestChromeBrowserProvider> chrome_browser_provider_;
22 }; 24 };
Alexei Svitkine (slow) 2015/01/08 18:39:40 Nit: Probably add DISALLOW_COPY_AND_ASSIGN() here
droger 2015/01/08 18:48:42 Done.
23 25
24 } // namespace ios 26 } // namespace ios
25 27
26 #endif // IOS_PUBLIC_TEST_TEST_CHROME_PROVIDER_INITIALIZER_H_ 28 #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