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

Side by Side Diff: webkit/browser/blob/view_blob_internals_job.cc

Issue 492873002: Collapse fileapi, webkit_blob, webkit_database, quota, and webkit_common namespaces into single sto… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos build 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/browser/blob/view_blob_internals_job.h" 5 #include "webkit/browser/blob/view_blob_internals_job.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/format_macros.h" 9 #include "base/format_macros.h"
10 #include "base/i18n/number_formatting.h" 10 #include "base/i18n/number_formatting.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 out->append(net::EscapeForHTML(element_data)); 80 out->append(net::EscapeForHTML(element_data));
81 out->append("</li>\n"); 81 out->append("</li>\n");
82 } 82 }
83 83
84 void AddHorizontalRule(std::string* out) { 84 void AddHorizontalRule(std::string* out) {
85 out->append("\n<hr>\n"); 85 out->append("\n<hr>\n");
86 } 86 }
87 87
88 } // namespace 88 } // namespace
89 89
90 namespace webkit_blob { 90 namespace storage {
91 91
92 ViewBlobInternalsJob::ViewBlobInternalsJob( 92 ViewBlobInternalsJob::ViewBlobInternalsJob(
93 net::URLRequest* request, 93 net::URLRequest* request,
94 net::NetworkDelegate* network_delegate, 94 net::NetworkDelegate* network_delegate,
95 BlobStorageContext* blob_storage_context) 95 BlobStorageContext* blob_storage_context)
96 : net::URLRequestSimpleJob(request, network_delegate), 96 : net::URLRequestSimpleJob(request, network_delegate),
97 blob_storage_context_(blob_storage_context), 97 blob_storage_context_(blob_storage_context),
98 weak_factory_(this) { 98 weak_factory_(this) {
99 } 99 }
100 100
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 static_cast<int64>(item.length()))), out); 232 static_cast<int64>(item.length()))), out);
233 } 233 }
234 234
235 if (has_multi_items) 235 if (has_multi_items)
236 EndHTMLList(out); 236 EndHTMLList(out);
237 } 237 }
238 238
239 EndHTMLList(out); 239 EndHTMLList(out);
240 } 240 }
241 241
242 } // namespace webkit_blob 242 } // namespace storage
OLDNEW
« no previous file with comments | « webkit/browser/blob/view_blob_internals_job.h ('k') | webkit/browser/database/database_quota_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698