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

Side by Side Diff: content/browser/net/sqlite_persistent_cookie_store.cc

Issue 456513002: Add base:: qualification to some CommandLine references in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: imerge Created 6 years, 4 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/media/webrtc_browsertest.cc ('k') | content/browser/plugin_process_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/net/sqlite_persistent_cookie_store.h" 5 #include "content/browser/net/sqlite_persistent_cookie_store.h"
6 6
7 #include <list> 7 #include <list>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1307 matching lines...) Expand 10 before | Expand all | Expand 10 after
1318 } 1318 }
1319 1319
1320 // In the case of Android WebView, the cookie store may be created 1320 // In the case of Android WebView, the cookie store may be created
1321 // before the browser process fully initializes -- certainly before 1321 // before the browser process fully initializes -- certainly before
1322 // the main loop ever runs. In this situation, the CommandLine singleton 1322 // the main loop ever runs. In this situation, the CommandLine singleton
1323 // will not have been set up. Android tests do not need file cookies 1323 // will not have been set up. Android tests do not need file cookies
1324 // so always ignore them here. 1324 // so always ignore them here.
1325 // 1325 //
1326 // TODO(ajwong): Remove the InitializedForCurrentProcess() check 1326 // TODO(ajwong): Remove the InitializedForCurrentProcess() check
1327 // once http://crbug.com/331424 is resolved. 1327 // once http://crbug.com/331424 is resolved.
1328 if (CommandLine::InitializedForCurrentProcess() && 1328 if (base::CommandLine::InitializedForCurrentProcess() &&
1329 CommandLine::ForCurrentProcess()->HasSwitch( 1329 base::CommandLine::ForCurrentProcess()->HasSwitch(
1330 switches::kEnableFileCookies)) { 1330 switches::kEnableFileCookies)) {
1331 cookie_monster->SetEnableFileScheme(true); 1331 cookie_monster->SetEnableFileScheme(true);
1332 } 1332 }
1333 1333
1334 return cookie_monster; 1334 return cookie_monster;
1335 } 1335 }
1336 1336
1337 } // namespace content 1337 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/media/webrtc_browsertest.cc ('k') | content/browser/plugin_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698