OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "webkit/blob/view_blob_internals_job.h" | 5 #include "webkit/blob/view_blob_internals_job.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "base/format_macros.h" | 8 #include "base/format_macros.h" |
9 #include "base/i18n/number_formatting.h" | 9 #include "base/i18n/number_formatting.h" |
10 #include "base/i18n/time_formatting.h" | 10 #include "base/i18n/time_formatting.h" |
(...skipping 82 matching lines...) Loading... |
93 "onclick=\"SubmitCommand('%s')\" />", | 93 "onclick=\"SubmitCommand('%s')\" />", |
94 title.c_str(), | 94 title.c_str(), |
95 command.c_str()); | 95 command.c_str()); |
96 } | 96 } |
97 | 97 |
98 } // namespace | 98 } // namespace |
99 | 99 |
100 namespace webkit_blob { | 100 namespace webkit_blob { |
101 | 101 |
102 ViewBlobInternalsJob::ViewBlobInternalsJob( | 102 ViewBlobInternalsJob::ViewBlobInternalsJob( |
103 URLRequest* request, BlobStorageController* blob_storage_controller) | 103 net::URLRequest* request, BlobStorageController* blob_storage_controller) |
104 : URLRequestSimpleJob(request), | 104 : URLRequestSimpleJob(request), |
105 blob_storage_controller_(blob_storage_controller) { | 105 blob_storage_controller_(blob_storage_controller) { |
106 } | 106 } |
107 | 107 |
108 ViewBlobInternalsJob::~ViewBlobInternalsJob() { | 108 ViewBlobInternalsJob::~ViewBlobInternalsJob() { |
109 } | 109 } |
110 | 110 |
111 void ViewBlobInternalsJob::Start() { | 111 void ViewBlobInternalsJob::Start() { |
112 MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod( | 112 MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod( |
113 this, &ViewBlobInternalsJob::DoWorkAsync)); | 113 this, &ViewBlobInternalsJob::DoWorkAsync)); |
(...skipping 108 matching lines...) Loading... |
222 } | 222 } |
223 | 223 |
224 if (has_multi_items) | 224 if (has_multi_items) |
225 EndHTMLList(out); | 225 EndHTMLList(out); |
226 } | 226 } |
227 | 227 |
228 EndHTMLList(out); | 228 EndHTMLList(out); |
229 } | 229 } |
230 | 230 |
231 } // namespace webkit_blob | 231 } // namespace webkit_blob |
OLD | NEW |