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

Unified Diff: content/browser/tracing/tracing_ui.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
« no previous file with comments | « content/browser/time_zone_monitor_linux.cc ('k') | content/browser/webui/shared_resources_data_source.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/tracing/tracing_ui.cc
diff --git a/content/browser/tracing/tracing_ui.cc b/content/browser/tracing/tracing_ui.cc
index 074a771a1a88d0889c5021f9cc8df7213ff8ed73..7f404850a1af0bb7dad82cacfaec64da2fb1972f 100644
--- a/content/browser/tracing/tracing_ui.cc
+++ b/content/browser/tracing/tracing_ui.cc
@@ -169,10 +169,10 @@ bool OnBeginJSONRequest(const std::string& path,
base::Bind(OnGotCategories, callback));
}
- const char* beginRecordingPath = "json/begin_recording?";
- if (base::StartsWith(path, beginRecordingPath,
+ const char kBeginRecordingPath[] = "json/begin_recording?";
+ if (base::StartsWith(path, kBeginRecordingPath,
base::CompareCase::SENSITIVE)) {
- std::string data = path.substr(strlen(beginRecordingPath));
+ std::string data = path.substr(strlen(kBeginRecordingPath));
return BeginRecording(data, callback);
}
if (path == "json/get_buffer_percent_full") {
« no previous file with comments | « content/browser/time_zone_monitor_linux.cc ('k') | content/browser/webui/shared_resources_data_source.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698