OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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/child/permissions/permission_dispatcher.h" | 5 #include "content/child/permissions/permission_dispatcher.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/callback.h" | 9 #include "base/callback.h" |
8 #include "content/public/child/worker_thread.h" | 10 #include "content/public/child/worker_thread.h" |
9 #include "content/public/common/service_registry.h" | 11 #include "content/public/common/service_registry.h" |
10 #include "third_party/WebKit/public/platform/WebURL.h" | 12 #include "third_party/WebKit/public/platform/WebURL.h" |
11 #include "third_party/WebKit/public/platform/modules/permissions/WebPermissionOb
server.h" | 13 #include "third_party/WebKit/public/platform/modules/permissions/WebPermissionOb
server.h" |
12 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" | 14 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" |
13 | 15 |
14 using blink::WebPermissionObserver; | 16 using blink::WebPermissionObserver; |
15 | 17 |
16 namespace content { | 18 namespace content { |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 origin, | 406 origin, |
405 current_status, | 407 current_status, |
406 base::Bind(&PermissionDispatcher::OnPermissionChanged, | 408 base::Bind(&PermissionDispatcher::OnPermissionChanged, |
407 base::Unretained(this), | 409 base::Unretained(this), |
408 type, | 410 type, |
409 origin, | 411 origin, |
410 base::Unretained(observer))); | 412 base::Unretained(observer))); |
411 } | 413 } |
412 | 414 |
413 } // namespace content | 415 } // namespace content |
OLD | NEW |