OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "extensions/browser/api/web_request/web_request_api.h" | 5 #include "extensions/browser/api/web_request/web_request_api.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <memory> | 10 #include <memory> |
11 #include <utility> | 11 #include <utility> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/bind.h" | 14 #include "base/bind.h" |
15 #include "base/bind_helpers.h" | 15 #include "base/bind_helpers.h" |
16 #include "base/json/json_writer.h" | 16 #include "base/json/json_writer.h" |
17 #include "base/lazy_instance.h" | 17 #include "base/lazy_instance.h" |
18 #include "base/macros.h" | 18 #include "base/macros.h" |
19 #include "base/memory/ptr_util.h" | 19 #include "base/memory/ptr_util.h" |
20 #include "base/metrics/histogram.h" | 20 #include "base/metrics/histogram_macros.h" |
21 #include "base/strings/string_number_conversions.h" | 21 #include "base/strings/string_number_conversions.h" |
22 #include "base/strings/string_util.h" | 22 #include "base/strings/string_util.h" |
23 #include "base/strings/utf_string_conversions.h" | 23 #include "base/strings/utf_string_conversions.h" |
24 #include "base/time/time.h" | 24 #include "base/time/time.h" |
25 #include "base/values.h" | 25 #include "base/values.h" |
26 #include "content/public/browser/browser_thread.h" | 26 #include "content/public/browser/browser_thread.h" |
27 #include "content/public/browser/resource_request_info.h" | 27 #include "content/public/browser/resource_request_info.h" |
28 #include "content/public/browser/user_metrics.h" | 28 #include "content/public/browser/user_metrics.h" |
29 #include "content/public/common/browser_side_navigation_policy.h" | 29 #include "content/public/common/browser_side_navigation_policy.h" |
30 #include "content/public/common/child_process_host.h" | 30 #include "content/public/common/child_process_host.h" |
(...skipping 2323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2354 // Since EventListeners are segmented by browser_context, check that | 2354 // Since EventListeners are segmented by browser_context, check that |
2355 // last, as it is exceedingly unlikely to be different. | 2355 // last, as it is exceedingly unlikely to be different. |
2356 return extension_id == that.extension_id && | 2356 return extension_id == that.extension_id && |
2357 sub_event_name == that.sub_event_name && | 2357 sub_event_name == that.sub_event_name && |
2358 web_view_instance_id == that.web_view_instance_id && | 2358 web_view_instance_id == that.web_view_instance_id && |
2359 embedder_process_id == that.embedder_process_id && | 2359 embedder_process_id == that.embedder_process_id && |
2360 browser_context == that.browser_context; | 2360 browser_context == that.browser_context; |
2361 } | 2361 } |
2362 | 2362 |
2363 } // namespace extensions | 2363 } // namespace extensions |
OLD | NEW |