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

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: 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
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..bd880bd95d94e9b786bc80787afe5922c6185c7d 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
Mark Mentovai 2012/06/09 02:11:34 Style nit: two spaces between the } and the //.
nilesh 2012/06/11 17:45:28 Done.

Powered by Google App Engine
This is Rietveld 408576698