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

Unified Diff: webkit/support/platform_support_mac.mm

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 | « webkit/plugins/ppapi/ppb_graphics_2d_impl.cc ('k') | webkit/support/test_webkit_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/support/platform_support_mac.mm
===================================================================
--- webkit/support/platform_support_mac.mm (revision 70358)
+++ webkit/support/platform_support_mac.mm (working copy)
@@ -12,7 +12,7 @@
#include "base/base_paths.h"
#include "base/file_util.h"
#include "base/logging.h"
-#include "base/mac_util.h"
+#include "base/mac/mac_util.h"
#include "base/path_service.h"
#include "base/string16.h"
#include "grit/webkit_resources.h"
@@ -104,7 +104,7 @@
// Load a data pack.
g_resource_data_pack = new app::DataPack;
NSString* resource_path =
- [mac_util::MainAppBundle() pathForResource:@"DumpRenderTree"
+ [base::mac::MainAppBundle() pathForResource:@"DumpRenderTree"
ofType:@"pak"];
FilePath resources_pak_path([resource_path fileSystemRepresentation]);
if (!g_resource_data_pack->Load(resources_pak_path)) {
@@ -177,7 +177,7 @@
static FilePath GetResourcesFilePath() {
FilePath path;
// We assume the application is bundled.
- if (!mac_util::AmIBundled()) {
+ if (!base::mac::AmIBundled()) {
LOG(FATAL) << "Failed to locate resources. The applicaiton is not bundled.";
}
PathService::Get(base::DIR_EXE, &path);
« no previous file with comments | « webkit/plugins/ppapi/ppb_graphics_2d_impl.cc ('k') | webkit/support/test_webkit_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698