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

Unified Diff: app/test_suite.h

Issue 6046009: Move base/mac_util.h to base/mac and use the base::mac namespace.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 12 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 | « app/resource_bundle_mac.mm ('k') | base/base.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/test_suite.h
===================================================================
--- app/test_suite.h (revision 70358)
+++ app/test_suite.h (working copy)
@@ -11,12 +11,14 @@
#include "app/app_paths.h"
#include "app/resource_bundle.h"
#include "base/path_service.h"
+#include "base/mac/scoped_nsautorelease_pool.h"
+#include "base/test/test_suite.h"
+#include "build/build_config.h"
+
#if defined(OS_MACOSX)
-#include "base/mac_util.h"
+#include "base/mac/mac_util.h"
#include "base/test/mock_chrome_application_mac.h"
#endif
-#include "base/mac/scoped_nsautorelease_pool.h"
-#include "base/test/test_suite.h"
class AppTestSuite : public base::TestSuite {
public:
@@ -50,7 +52,7 @@
#else
#error Unknown branding
#endif
- mac_util::SetOverrideAppBundlePath(path);
+ base::mac::SetOverrideAppBundlePath(path);
#elif defined(OS_POSIX)
FilePath pak_dir;
PathService::Get(base::DIR_MODULE, &pak_dir);
@@ -69,7 +71,7 @@
ResourceBundle::CleanupSharedInstance();
#if defined(OS_MACOSX)
- mac_util::SetOverrideAppBundle(NULL);
+ base::mac::SetOverrideAppBundle(NULL);
#endif
TestSuite::Shutdown();
}
« no previous file with comments | « app/resource_bundle_mac.mm ('k') | base/base.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698