| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/renderer/api_request_handler.h" | 5 #include "extensions/renderer/bindings/api_request_handler.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/guid.h" | 8 #include "base/guid.h" |
| 9 #include "base/memory/ptr_util.h" | 9 #include "base/memory/ptr_util.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| 11 #include "content/public/child/v8_value_converter.h" | 11 #include "content/public/child/v8_value_converter.h" |
| 12 #include "gin/converter.h" | 12 #include "gin/converter.h" |
| 13 #include "gin/data_object_builder.h" | 13 #include "gin/data_object_builder.h" |
| 14 #include "third_party/WebKit/public/web/WebScopedUserGesture.h" | 14 #include "third_party/WebKit/public/web/WebScopedUserGesture.h" |
| 15 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" | 15 #include "third_party/WebKit/public/web/WebUserGestureIndicator.h" |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 169 } | 169 } |
| 170 | 170 |
| 171 std::set<int> APIRequestHandler::GetPendingRequestIdsForTesting() const { | 171 std::set<int> APIRequestHandler::GetPendingRequestIdsForTesting() const { |
| 172 std::set<int> result; | 172 std::set<int> result; |
| 173 for (const auto& pair : pending_requests_) | 173 for (const auto& pair : pending_requests_) |
| 174 result.insert(pair.first); | 174 result.insert(pair.first); |
| 175 return result; | 175 return result; |
| 176 } | 176 } |
| 177 | 177 |
| 178 } // namespace extensions | 178 } // namespace extensions |
| OLD | NEW |