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

Unified Diff: app/test_suite.h

Issue 6263008: Move ResourceBundle, DataPack to ui/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | « app/resource_bundle_win.cc ('k') | chrome/app/chrome_main.cc » ('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 72000)
+++ app/test_suite.h (working copy)
@@ -9,11 +9,12 @@
#include "build/build_config.h"
#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"
+#include "ui/base/resource/resource_bundle.h"
+#include "ui/base/ui_base_paths.h"
#if defined(OS_MACOSX)
#include "base/mac/mac_util.h"
@@ -38,6 +39,7 @@
TestSuite::Initialize();
app::RegisterPathProvider();
+ ui::RegisterPathProvider();
#if defined(OS_MACOSX)
// Look in the framework bundle for resources.
// TODO(port): make a resource bundle for non-app exes. What's done here
@@ -57,8 +59,8 @@
FilePath pak_dir;
PathService::Get(base::DIR_MODULE, &pak_dir);
pak_dir = pak_dir.AppendASCII("app_unittests_strings");
- PathService::Override(app::DIR_LOCALES, pak_dir);
- PathService::Override(app::FILE_RESOURCES_PAK,
+ PathService::Override(ui::DIR_LOCALES, pak_dir);
+ PathService::Override(ui::FILE_RESOURCES_PAK,
pak_dir.AppendASCII("app_resources.pak"));
#endif
« no previous file with comments | « app/resource_bundle_win.cc ('k') | chrome/app/chrome_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698