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; |