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

Unified Diff: content/browser/cache_storage/cache_storage_dispatcher_host.h

Issue 1768063002: Introduce String::fromUTF8Lenient() and use it for cache_name in CacheStorage API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/cache_storage/cache_storage_dispatcher_host.h
diff --git a/content/browser/cache_storage/cache_storage_dispatcher_host.h b/content/browser/cache_storage/cache_storage_dispatcher_host.h
index 77435096db24ebe8a1ee9b4859e4322351ea4591..4e0929aac54fd920b3eb546e539c34cd3d764830 100644
--- a/content/browser/cache_storage/cache_storage_dispatcher_host.h
+++ b/content/browser/cache_storage/cache_storage_dispatcher_host.h
@@ -50,15 +50,15 @@ class CONTENT_EXPORT CacheStorageDispatcherHost : public BrowserMessageFilter {
void OnCacheStorageHas(int thread_id,
int request_id,
const GURL& origin,
- const base::string16& cache_name);
+ const std::string& cache_name);
void OnCacheStorageOpen(int thread_id,
int request_id,
const GURL& origin,
- const base::string16& cache_name);
+ const std::string& cache_name);
void OnCacheStorageDelete(int thread_id,
int request_id,
const GURL& origin,
- const base::string16& cache_name);
+ const std::string& cache_name);
void OnCacheStorageKeys(int thread_id, int request_id, const GURL& origin);
void OnCacheStorageMatch(int thread_id,
int request_id,

Powered by Google App Engine
This is Rietveld 408576698