| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "content/browser/shared_worker/shared_worker_message_filter.h" | 5 #include "content/browser/shared_worker/shared_worker_message_filter.h" |
| 6 | 6 |
| 7 #include "content/browser/devtools/worker_devtools_manager.h" | |
| 8 #include "content/browser/message_port_message_filter.h" | 7 #include "content/browser/message_port_message_filter.h" |
| 9 #include "content/browser/shared_worker/shared_worker_service_impl.h" | 8 #include "content/browser/shared_worker/shared_worker_service_impl.h" |
| 10 #include "content/common/devtools_messages.h" | 9 #include "content/common/devtools_messages.h" |
| 11 #include "content/common/view_messages.h" | 10 #include "content/common/view_messages.h" |
| 12 #include "content/common/worker_messages.h" | 11 #include "content/common/worker_messages.h" |
| 13 | 12 |
| 14 namespace content { | 13 namespace content { |
| 15 namespace { | 14 namespace { |
| 16 const uint32 kFilteredMessageClasses[] = { | 15 const uint32 kFilteredMessageClasses[] = { |
| 17 ViewMsgStart, | 16 ViewMsgStart, |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 const base::string16& name, | 157 const base::string16& name, |
| 159 bool* result) { | 158 bool* result) { |
| 160 SharedWorkerServiceImpl::GetInstance()->AllowIndexedDB(worker_route_id, | 159 SharedWorkerServiceImpl::GetInstance()->AllowIndexedDB(worker_route_id, |
| 161 url, | 160 url, |
| 162 name, | 161 name, |
| 163 result, | 162 result, |
| 164 this); | 163 this); |
| 165 } | 164 } |
| 166 | 165 |
| 167 } // namespace content | 166 } // namespace content |
| OLD | NEW |