| Index: trunk/src/chrome/common/logging_chrome.cc
|
| ===================================================================
|
| --- trunk/src/chrome/common/logging_chrome.cc (revision 192508)
|
| +++ trunk/src/chrome/common/logging_chrome.cc (working copy)
|
| @@ -51,10 +51,6 @@
|
| #include "chrome/common/env_vars.h"
|
| #include "ipc/ipc_logging.h"
|
|
|
| -#if defined(OS_CHROMEOS)
|
| -#include "chromeos/chromeos_switches.h"
|
| -#endif
|
| -
|
| #if defined(OS_WIN)
|
| #include <initguid.h>
|
| #include "base/logging_win.h"
|
| @@ -209,7 +205,7 @@
|
| } else {
|
| PathService::Get(chrome::DIR_USER_DATA, &log_dir);
|
| base::FilePath login_profile =
|
| - command_line.GetSwitchValuePath(chromeos::switches::kLoginProfile);
|
| + command_line.GetSwitchValuePath(switches::kLoginProfile);
|
| log_dir = log_dir.Append(login_profile);
|
| }
|
| return log_dir.Append(GetLogFileName().BaseName());
|
| @@ -272,7 +268,7 @@
|
| // For BWSI (Incognito) logins, we want to put the logs in the user
|
| // profile directory that is created for the temporary session instead
|
| // of in the system log directory, for privacy reasons.
|
| - if (command_line.HasSwitch(chromeos::switches::kGuestSession))
|
| + if (command_line.HasSwitch(switches::kGuestSession))
|
| log_path = GetSessionLogFile(command_line);
|
|
|
| // On ChromeOS we log to the symlink. We force creation of a new
|
|
|