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

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

Issue 809333003: Upstream //ios/chrome/browser/translate (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 side-by-side diff with in-line comments
Download patch
Index: ios/public/test/test_chrome_provider_initializer.h
diff --git a/ios/public/test/test_chrome_provider_initializer.h b/ios/public/test/test_chrome_provider_initializer.h
new file mode 100644
index 0000000000000000000000000000000000000000..268b01b2eb3b4ba7eb92574cfc5a679dd4b328b1
--- /dev/null
+++ b/ios/public/test/test_chrome_provider_initializer.h
@@ -0,0 +1,26 @@
+// 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.
+
+#ifndef IOS_PUBLIC_TEST_TEST_CHROME_PROVIDER_INITIALIZER_H_
+#define IOS_PUBLIC_TEST_TEST_CHROME_PROVIDER_INITIALIZER_H_
+
+namespace ios {
+
+class TestChromeBrowserProvider;
+
+// Initializes various objects needed to run unit tests that use ios::
+// objects. Currently this includes setting up the chrome browser provider as
+// a |TestChromeBrowserProvider|.
+class TestChromeProviderInitializer {
+ public:
+ TestChromeProviderInitializer();
+ virtual ~TestChromeProviderInitializer();
+
+ private:
+ TestChromeBrowserProvider* chrome_browser_provider_;
+};
+
+} // namespace ios
+
+#endif // IOS_PUBLIC_TEST_TEST_CHROME_PROVIDER_INITIALIZER_H_

Powered by Google App Engine
This is Rietveld 408576698