// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "webkit/blob/view_blob_internals_job.h" #include "base/compiler_specific.h" #include "base/logging.h" #include "base/format_macros.h" #include "base/i18n/number_formatting.h" #include "base/i18n/time_formatting.h" #include "base/message_loop.h" #include "base/string_util.h" #include "base/utf_string_conversions.h" #include "net/base/escape.h" #include "net/url_request/url_request.h" #include "webkit/blob/blob_data.h" #include "webkit/blob/blob_storage_controller.h" namespace { const char kEmptyBlobStorageMessage[] = "No available blob data."; const char kRemove[] = "Remove"; const char kContentType[] = "Content Type: "; const char kContentDisposition[] = "Content Disposition: "; const char kCount[] = "Count: "; const char kIndex[] = "Index: "; const char kType[] = "Type: "; const char kPath[] = "Path: "; const char kURL[] = "URL: "; const char kModificationTime[] = "Modification Time: "; const char kOffset[] = "Offset: "; const char kLength[] = "Length: "; void StartHTML(std::string* out) { out->append( "" "