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

Unified Diff: content/browser/appcache/appcache_database.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/android/content_video_view.cc ('k') | content/browser/appcache/manifest_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/appcache/appcache_database.cc
diff --git a/content/browser/appcache/appcache_database.cc b/content/browser/appcache/appcache_database.cc
index 546c1dcef8a4a9ebb2b73528d61b8c67407ccca1..0783efa335036c988cbc010d911f6de5aa010700 100644
--- a/content/browser/appcache/appcache_database.cc
+++ b/content/browser/appcache/appcache_database.cc
@@ -177,7 +177,8 @@ bool CreateIndex(sql::Connection* db, const IndexInfo& info) {
}
std::string GetActiveExperimentFlags() {
- if (CommandLine::ForCurrentProcess()->HasSwitch(kEnableExecutableHandlers))
+ if (base::CommandLine::ForCurrentProcess()->HasSwitch(
+ kEnableExecutableHandlers))
return std::string("executableHandlersEnabled");
return std::string();
}
@@ -712,7 +713,7 @@ bool AppCacheDatabase::InsertNamespace(
int type_with_executable_bit = record->namespace_.type;
if (record->namespace_.is_executable) {
type_with_executable_bit |= 0x8000000;
- DCHECK(CommandLine::ForCurrentProcess()->HasSwitch(
+ DCHECK(base::CommandLine::ForCurrentProcess()->HasSwitch(
kEnableExecutableHandlers));
}
@@ -976,7 +977,8 @@ void AppCacheDatabase::ReadNamespaceRecord(
record->namespace_.is_executable =
(type_with_executable_bit & 0x80000000) != 0;
DCHECK(!record->namespace_.is_executable ||
- CommandLine::ForCurrentProcess()->HasSwitch(kEnableExecutableHandlers));
+ base::CommandLine::ForCurrentProcess()->HasSwitch(
+ kEnableExecutableHandlers));
}
void AppCacheDatabase::ReadOnlineWhiteListRecord(
« no previous file with comments | « content/browser/android/content_video_view.cc ('k') | content/browser/appcache/manifest_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698