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

Unified Diff: base/test/test_support_android.cc

Issue 10538065: Remove duplicate call to InitAndroidTest. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nits Created 8 years, 6 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 | « base/test/test_support_android.h ('k') | testing/android/generate_native_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/test/test_support_android.cc
diff --git a/base/test/test_support_android.cc b/base/test/test_support_android.cc
index 5e5a8ae1df6a628567c8e2fa953f2daf121a1f7a..78d292f1e7dda9ecafafb4beeafae51b6e2248b9 100644
--- a/base/test/test_support_android.cc
+++ b/base/test/test_support_android.cc
@@ -170,6 +170,8 @@ void InitPathProvider(int key) {
} // namespace
+namespace base {
+
void InitAndroidTestLogging() {
logging::InitLogging(NULL,
logging::LOG_ONLY_TO_SYSTEM_DEBUG_LOG,
@@ -184,9 +186,9 @@ void InitAndroidTestLogging() {
}
void InitAndroidTestPaths() {
- InitPathProvider(base::DIR_MODULE);
- InitPathProvider(base::DIR_CACHE);
- InitPathProvider(base::DIR_ANDROID_APP_DATA);
+ InitPathProvider(DIR_MODULE);
+ InitPathProvider(DIR_CACHE);
+ InitPathProvider(DIR_ANDROID_APP_DATA);
}
void InitAndroidTestMessageLoop() {
@@ -198,3 +200,4 @@ void InitAndroidTest() {
InitAndroidTestPaths();
InitAndroidTestMessageLoop();
}
+} // namespace base
« no previous file with comments | « base/test/test_support_android.h ('k') | testing/android/generate_native_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698