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

Side by Side Diff: webkit/appcache/view_appcache_internals_job.cc

Issue 6317016: Change UTF8ToUTF16 to accept const StringPiece&. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 10 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
« no previous file with comments | « tools/memory_watcher/memory_watcher.cc ('k') | webkit/glue/webclipboard_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <algorithm>
6
5 #include "webkit/appcache/view_appcache_internals_job.h" 7 #include "webkit/appcache/view_appcache_internals_job.h"
6 8
7 #include "base/logging.h" 9 #include "base/logging.h"
8 #include "base/format_macros.h" 10 #include "base/format_macros.h"
9 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
10 #include "base/i18n/time_formatting.h" 12 #include "base/i18n/time_formatting.h"
11 #include "base/string_util.h" 13 #include "base/string_util.h"
12 #include "net/base/escape.h" 14 #include "net/base/escape.h"
13 #include "net/url_request/url_request.h" 15 #include "net/url_request/url_request.h"
14 #include "webkit/appcache/appcache_policy.h" 16 #include "webkit/appcache/appcache_policy.h"
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 data->append(kErrorMessage); 251 data->append(kErrorMessage);
250 else if (info_collection_->infos_by_origin.empty()) 252 else if (info_collection_->infos_by_origin.empty())
251 data->append(kEmptyAppCachesMessage); 253 data->append(kEmptyAppCachesMessage);
252 else 254 else
253 GenerateHTMLAppCacheInfo(data); 255 GenerateHTMLAppCacheInfo(data);
254 EndHTML(data); 256 EndHTML(data);
255 return true; 257 return true;
256 } 258 }
257 259
258 } // namespace appcache 260 } // namespace appcache
OLDNEW
« no previous file with comments | « tools/memory_watcher/memory_watcher.cc ('k') | webkit/glue/webclipboard_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698