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

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

Issue 494473002: Cleanup: Change const char* foo to const char foo[] in content/browser. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 | « no previous file | content/browser/fileapi/chrome_blob_storage_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/appcache/appcache_response_unittest.cc
===================================================================
--- content/browser/appcache/appcache_response_unittest.cc (revision 290677)
+++ content/browser/appcache/appcache_response_unittest.cc (working copy)
@@ -31,7 +31,6 @@
class AppCacheResponseTest : public testing::Test {
public:
-
// Test Harness -------------------------------------------------------------
// Helper class used to verify test results
@@ -155,7 +154,7 @@
void WriteBasicResponse() {
static const char kHttpHeaders[] =
"HTTP/1.0 200 OK\0Content-Length: 5\0\0";
- static const char* kHttpBody = "Hello";
+ static const char kHttpBody[] = "Hello";
scoped_refptr<IOBuffer> body(new WrappedIOBuffer(kHttpBody));
std::string raw_headers(kHttpHeaders, arraysize(kHttpHeaders));
WriteResponse(
@@ -377,8 +376,7 @@
// AmountWritten ----------------------------------------------------
void AmountWritten() {
- static const char kHttpHeaders[] =
- "HTTP/1.0 200 OK\0\0";
+ static const char kHttpHeaders[] = "HTTP/1.0 200 OK\0\0";
std::string raw_headers(kHttpHeaders, arraysize(kHttpHeaders));
net::HttpResponseInfo* head = MakeHttpResponseInfo(raw_headers);
int expected_amount_written =
« no previous file with comments | « no previous file | content/browser/fileapi/chrome_blob_storage_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698