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

Unified Diff: content/browser/appcache/appcache_database.cc

Issue 1875913002: Cleanup: Convert const char* kFoo to const char kFoo[]. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: content/browser/appcache/appcache_database.cc
diff --git a/content/browser/appcache/appcache_database.cc b/content/browser/appcache/appcache_database.cc
index f3053c7d2588c0ec774d66cab223cb091229e6d2..690da3546235e2178be88c632556f24db6601fa0 100644
--- a/content/browser/appcache/appcache_database.cc
+++ b/content/browser/appcache/appcache_database.cc
@@ -278,13 +278,13 @@ bool AppCacheDatabase::FindLastStorageIds(
if (!LazyOpen(kDontCreate))
return false;
- const char* kMaxGroupIdSql = "SELECT MAX(group_id) FROM Groups";
- const char* kMaxCacheIdSql = "SELECT MAX(cache_id) FROM Caches";
- const char* kMaxResponseIdFromEntriesSql =
+ const char kMaxGroupIdSql[] = "SELECT MAX(group_id) FROM Groups";
+ const char kMaxCacheIdSql[] = "SELECT MAX(cache_id) FROM Caches";
+ const char kMaxResponseIdFromEntriesSql[] =
"SELECT MAX(response_id) FROM Entries";
- const char* kMaxResponseIdFromDeletablesSql =
+ const char kMaxResponseIdFromDeletablesSql[] =
"SELECT MAX(response_id) FROM DeletableResponseIds";
- const char* kMaxDeletableResponseRowIdSql =
+ const char kMaxDeletableResponseRowIdSql[] =
"SELECT MAX(rowid) FROM DeletableResponseIds";
int64_t max_group_id;
int64_t max_cache_id;
« no previous file with comments | « content/browser/android/child_process_launcher_android.cc ('k') | content/browser/appcache/appcache_update_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698