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

Unified Diff: chrome/test/base/chrome_test_suite.cc

Issue 9187053: Transition to base/mac/bundle_locations.h step 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix review comments. Created 8 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
« no previous file with comments | « chrome/browser/ui/cocoa/cocoa_test_helper.mm ('k') | ui/gfx/test_suite.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/chrome_test_suite.cc
diff --git a/chrome/test/base/chrome_test_suite.cc b/chrome/test/base/chrome_test_suite.cc
index 0612fd4373b2aacb6aee16d873a6202c966ec1e3..d5fc90e119e7835c20af740f34caf7ac594f627e 100644
--- a/chrome/test/base/chrome_test_suite.cc
+++ b/chrome/test/base/chrome_test_suite.cc
@@ -28,6 +28,7 @@
#include "ui/base/ui_base_paths.h"
#if defined(OS_MACOSX)
+#include "base/mac/bundle_locations.h"
#include "base/mac/mac_util.h"
#include "base/mac/scoped_nsautorelease_pool.h"
#include "chrome/browser/chrome_browser_application_mac.h"
@@ -185,7 +186,7 @@ void ChromeTestSuite::Initialize() {
FilePath path;
PathService::Get(base::DIR_EXE, &path);
path = path.Append(chrome::kFrameworkName);
- base::mac::SetOverrideAppBundlePath(path);
+ base::mac::SetOverrideFrameworkBundlePath(path);
#endif
// Force unittests to run using en-US so if we test against string
@@ -219,7 +220,7 @@ void ChromeTestSuite::Shutdown() {
ResourceBundle::CleanupSharedInstance();
#if defined(OS_MACOSX)
- base::mac::SetOverrideAppBundle(NULL);
+ base::mac::SetOverrideFrameworkBundle(NULL);
#endif
base::StatsTable::set_current(NULL);
« no previous file with comments | « chrome/browser/ui/cocoa/cocoa_test_helper.mm ('k') | ui/gfx/test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698