| Index: chrome/browser/net/cookie_store_util.cc
|
| diff --git a/chrome/browser/net/cookie_store_util.cc b/chrome/browser/net/cookie_store_util.cc
|
| index 7bd65a0d8e471de9a450b0072db64491af08c023..947842da397a263a7a811e18ab4f2e768d2fccf1 100644
|
| --- a/chrome/browser/net/cookie_store_util.cc
|
| +++ b/chrome/browser/net/cookie_store_util.cc
|
| @@ -100,7 +100,8 @@ class ChromeCookieMonsterDelegate : public net::CookieMonsterDelegate {
|
| namespace chrome_browser_net {
|
|
|
| bool IsCookieRecordMode() {
|
| - const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| + const base::CommandLine& command_line =
|
| + *base::CommandLine::ForCurrentProcess();
|
| // Only allow Record Mode if we are in a Debug build or where we are running
|
| // a cycle, and the user has limited control.
|
| return command_line.HasSwitch(switches::kRecordMode) &&
|
| @@ -108,7 +109,8 @@ bool IsCookieRecordMode() {
|
| }
|
|
|
| bool ShouldUseInMemoryCookiesAndCache() {
|
| - const CommandLine& command_line = *CommandLine::ForCurrentProcess();
|
| + const base::CommandLine& command_line =
|
| + *base::CommandLine::ForCurrentProcess();
|
| return IsCookieRecordMode() ||
|
| command_line.HasSwitch(switches::kPlaybackMode);
|
| }
|
|
|