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

Unified Diff: chrome/browser/chromeos/system/drm_settings.cc

Issue 13671005: Re-apply 192420: Move login switches to src/chromeos (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
Index: chrome/browser/chromeos/system/drm_settings.cc
diff --git a/chrome/browser/chromeos/system/drm_settings.cc b/chrome/browser/chromeos/system/drm_settings.cc
index b56e0a3079c41c48a882de501bb7bfbdb3362cf8..6206a45106ac982862e0e6776818ef1318b7d1ae 100644
--- a/chrome/browser/chromeos/system/drm_settings.cc
+++ b/chrome/browser/chromeos/system/drm_settings.cc
@@ -17,6 +17,7 @@
#include "chrome/browser/chromeos/login/user_manager.h"
#include "chrome/common/chrome_paths.h"
#include "chrome/common/chrome_switches.h"
+#include "chromeos/chromeos_switches.h"
#include "content/public/browser/browser_thread.h"
#include "crypto/encryptor.h"
#include "crypto/sha2.h"
@@ -43,7 +44,8 @@ void ManageDrmIdentifierOnFileThread(bool enable, const std::string& email) {
base::FilePath drm_id_file;
PathService::Get(chrome::DIR_USER_DATA, &drm_id_file);
const CommandLine& cmd_line = *CommandLine::ForCurrentProcess();
- base::FilePath profile = cmd_line.GetSwitchValuePath(switches::kLoginProfile);
+ base::FilePath profile = cmd_line.GetSwitchValuePath(
+ chromeos::switches::kLoginProfile);
if (profile.empty()) {
LOG(ERROR) << "called with no login-profile!";
return;

Powered by Google App Engine
This is Rietveld 408576698