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

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

Issue 798923003: Make chrome/renderer/content_settings_observer.cc depend on //components/contents_settings for IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix fuzzer compilation Created 5 years, 8 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/plugins/chrome_plugin_placeholder.cc ('k') | components/content_settings.gypi » ('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 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 "components/content_settings/content/common/content_settings_messages.h "
8 #include "content/public/renderer/render_frame.h" 9 #include "content/public/renderer/render_frame.h"
9 #include "content/public/renderer/render_thread.h" 10 #include "content/public/renderer/render_thread.h"
10 #include "ipc/ipc_sync_message_filter.h" 11 #include "ipc/ipc_sync_message_filter.h"
11 #include "third_party/WebKit/public/platform/WebPermissionCallbacks.h" 12 #include "third_party/WebKit/public/platform/WebPermissionCallbacks.h"
12 #include "third_party/WebKit/public/web/WebDocument.h" 13 #include "third_party/WebKit/public/web/WebDocument.h"
13 #include "third_party/WebKit/public/web/WebFrame.h" 14 #include "third_party/WebKit/public/web/WebFrame.h"
14 #include "third_party/WebKit/public/web/WebSecurityOrigin.h" 15 #include "third_party/WebKit/public/web/WebSecurityOrigin.h"
15 16
16 WorkerContentSettingsClientProxy::WorkerContentSettingsClientProxy( 17 WorkerContentSettingsClientProxy::WorkerContentSettingsClientProxy(
17 content::RenderFrame* render_frame, 18 content::RenderFrame* render_frame,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 bool WorkerContentSettingsClientProxy::allowIndexedDB( 57 bool WorkerContentSettingsClientProxy::allowIndexedDB(
57 const blink::WebString& name) { 58 const blink::WebString& name) {
58 if (is_unique_origin_) 59 if (is_unique_origin_)
59 return false; 60 return false;
60 61
61 bool result = false; 62 bool result = false;
62 sync_message_filter_->Send(new ChromeViewHostMsg_AllowIndexedDB( 63 sync_message_filter_->Send(new ChromeViewHostMsg_AllowIndexedDB(
63 routing_id_, document_origin_url_, top_frame_origin_url_, name, &result)); 64 routing_id_, document_origin_url_, top_frame_origin_url_, name, &result));
64 return result; 65 return result;
65 } 66 }
OLDNEW
« no previous file with comments | « chrome/renderer/plugins/chrome_plugin_placeholder.cc ('k') | components/content_settings.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698