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

Unified Diff: chrome/utility/web_resource_unpacker.cc

Issue 635623003: Cleanup: Better constify some strings in chrome. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mac Created 6 years, 2 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 | « chrome/utility/web_resource_unpacker.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/web_resource_unpacker.cc
diff --git a/chrome/utility/web_resource_unpacker.cc b/chrome/utility/web_resource_unpacker.cc
index 3122200b0af1dfa1eec0cafb7a12c968661d50f4..648a5d14a4fff08849d310d215821a8cca5a91bb 100644
--- a/chrome/utility/web_resource_unpacker.cc
+++ b/chrome/utility/web_resource_unpacker.cc
@@ -7,10 +7,10 @@
#include "base/json/json_reader.h"
#include "base/values.h"
-const char* WebResourceUnpacker::kInvalidDataTypeError =
+const char WebResourceUnpacker::kInvalidDataTypeError[] =
"Data from web resource server is missing or not valid JSON.";
-const char* WebResourceUnpacker::kUnexpectedJSONFormatError =
+const char WebResourceUnpacker::kUnexpectedJSONFormatError[] =
"Data from web resource server does not have expected format.";
WebResourceUnpacker::WebResourceUnpacker(const std::string &resource_data)
« no previous file with comments | « chrome/utility/web_resource_unpacker.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698