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

Side by Side Diff: chrome/renderer/worker_content_settings_client_proxy.cc

Issue 2651543007: Use explicit WebString conversions in remaining chrome/renderer files (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « chrome/renderer/web_apps.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/renderer/worker_content_settings_client_proxy.h" 5 #include "chrome/renderer/worker_content_settings_client_proxy.h"
6 6
7 #include "chrome/common/render_messages.h" 7 #include "chrome/common/render_messages.h"
8 #include "content/public/renderer/render_frame.h" 8 #include "content/public/renderer/render_frame.h"
9 #include "content/public/renderer/render_thread.h" 9 #include "content/public/renderer/render_thread.h"
10 #include "ipc/ipc_sync_message_filter.h" 10 #include "ipc/ipc_sync_message_filter.h"
(...skipping 30 matching lines...) Expand all
41 return result; 41 return result;
42 } 42 }
43 43
44 bool WorkerContentSettingsClientProxy::allowIndexedDB( 44 bool WorkerContentSettingsClientProxy::allowIndexedDB(
45 const blink::WebString& name) { 45 const blink::WebString& name) {
46 if (is_unique_origin_) 46 if (is_unique_origin_)
47 return false; 47 return false;
48 48
49 bool result = false; 49 bool result = false;
50 sync_message_filter_->Send(new ChromeViewHostMsg_AllowIndexedDB( 50 sync_message_filter_->Send(new ChromeViewHostMsg_AllowIndexedDB(
51 routing_id_, document_origin_url_, top_frame_origin_url_, name, &result)); 51 routing_id_, document_origin_url_, top_frame_origin_url_, name.utf16(),
52 &result));
52 return result; 53 return result;
53 } 54 }
OLDNEW
« no previous file with comments | « chrome/renderer/web_apps.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698