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

Unified Diff: chrome/browser/browser_main_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 | « chrome/browser/background_mode_manager_mac.mm ('k') | chrome/browser/bug_report_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_main_mac.mm
===================================================================
--- chrome/browser/browser_main_mac.mm (revision 70358)
+++ chrome/browser/browser_main_mac.mm (working copy)
@@ -12,7 +12,7 @@
#include "base/command_line.h"
#include "base/debug/debugger.h"
#include "base/file_path.h"
-#include "base/mac_util.h"
+#include "base/mac/mac_util.h"
#include "base/nss_util.h"
#include "base/path_service.h"
#include "base/scoped_nsobject.h"
@@ -70,7 +70,7 @@
virtual void PreEarlyInitialization() {
BrowserMainPartsPosix::PreEarlyInitialization();
- if (mac_util::WasLaunchedAsHiddenLoginItem()) {
+ if (base::mac::WasLaunchedAsHiddenLoginItem()) {
CommandLine* singleton_command_line = CommandLine::ForCurrentProcess();
singleton_command_line->AppendSwitch(switches::kNoStartupWindow);
}
@@ -113,7 +113,7 @@
// Now load the nib (from the right bundle).
scoped_nsobject<NSNib>
nib([[NSNib alloc] initWithNibNamed:@"MainMenu"
- bundle:mac_util::MainAppBundle()]);
+ bundle:base::mac::MainAppBundle()]);
// TODO(viettrungluu): crbug.com/20504 - This currently leaks, so if you
// change this, you'll probably need to change the Valgrind suppression.
[nib instantiateNibWithOwner:NSApp topLevelObjects:nil];
« no previous file with comments | « chrome/browser/background_mode_manager_mac.mm ('k') | chrome/browser/bug_report_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698