| 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 =
|
|
|