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

Unified Diff: chrome/app/chrome_main_app_mode_mac.mm

Issue 9618021: Infrastructure to improve app mode stub <-> Chrome main communication. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 9 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 | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | chrome/browser/chrome_browser_main.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_main_app_mode_mac.mm
diff --git a/chrome/app/chrome_main_app_mode_mac.mm b/chrome/app/chrome_main_app_mode_mac.mm
index 043f87fd21fa1ffca22fd9c93107c1444341e88e..a65a27ce157cd727444f042cbfc0da129293d816 100644
--- a/chrome/app/chrome_main_app_mode_mac.mm
+++ b/chrome/app/chrome_main_app_mode_mac.mm
@@ -7,8 +7,6 @@
// passing the appropriate data. This is the entry point into the framework for
// those app bundles.
-#include <string> // TODO(viettrungluu): only needed for temporary hack
-
#include "base/basictypes.h"
#include "base/command_line.h"
#include "base/file_path.h"
@@ -49,6 +47,8 @@ int ChromeAppModeStart(const app_mode::ChromeAppModeInfo* info) {
base::mac::SetOverrideFrameworkBundlePath(
chrome_versioned_path->Append(chrome::kFrameworkName));
+ app_mode::SetAppModeInfo(info);
+
CommandLine command_line(CommandLine::NO_PROGRAM);
command_line.AppendSwitch(info->argv[0]);
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | chrome/browser/chrome_browser_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698