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 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ | 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ |
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ | 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 void JsonReceived(const DispatchCallback& callback, | 170 void JsonReceived(const DispatchCallback& callback, |
171 int result, | 171 int result, |
172 const std::string& message); | 172 const std::string& message); |
173 void DevicesDiscoveryConfigUpdated(); | 173 void DevicesDiscoveryConfigUpdated(); |
174 void SendPortForwardingStatus(const base::Value& status); | 174 void SendPortForwardingStatus(const base::Value& status); |
175 | 175 |
176 // DevToolsFileHelper::Delegate overrides. | 176 // DevToolsFileHelper::Delegate overrides. |
177 void FileSystemAdded( | 177 void FileSystemAdded( |
178 const DevToolsFileHelper::FileSystem& file_system) override; | 178 const DevToolsFileHelper::FileSystem& file_system) override; |
179 void FileSystemRemoved(const std::string& file_system_path) override; | 179 void FileSystemRemoved(const std::string& file_system_path) override; |
180 void FilePathsChanged(const std::vector<std::string>& file_paths) override; | 180 void FilePathsChanged(const std::vector<std::string>& changed_paths, |
| 181 const std::vector<std::string>& added_paths, |
| 182 const std::vector<std::string>& removed_paths) override; |
181 | 183 |
182 // DevToolsFileHelper callbacks. | 184 // DevToolsFileHelper callbacks. |
183 void FileSavedAs(const std::string& url); | 185 void FileSavedAs(const std::string& url); |
184 void CanceledFileSaveAs(const std::string& url); | 186 void CanceledFileSaveAs(const std::string& url); |
185 void AppendedTo(const std::string& url); | 187 void AppendedTo(const std::string& url); |
186 void IndexingTotalWorkCalculated(int request_id, | 188 void IndexingTotalWorkCalculated(int request_id, |
187 const std::string& file_system_path, | 189 const std::string& file_system_path, |
188 int total_work); | 190 int total_work); |
189 void IndexingWorked(int request_id, | 191 void IndexingWorked(int request_id, |
190 const std::string& file_system_path, | 192 const std::string& file_system_path, |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 embedder_message_dispatcher_; | 229 embedder_message_dispatcher_; |
228 GURL url_; | 230 GURL url_; |
229 using PendingRequestsMap = std::map<const net::URLFetcher*, DispatchCallback>; | 231 using PendingRequestsMap = std::map<const net::URLFetcher*, DispatchCallback>; |
230 PendingRequestsMap pending_requests_; | 232 PendingRequestsMap pending_requests_; |
231 base::WeakPtrFactory<DevToolsUIBindings> weak_factory_; | 233 base::WeakPtrFactory<DevToolsUIBindings> weak_factory_; |
232 | 234 |
233 DISALLOW_COPY_AND_ASSIGN(DevToolsUIBindings); | 235 DISALLOW_COPY_AND_ASSIGN(DevToolsUIBindings); |
234 }; | 236 }; |
235 | 237 |
236 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ | 238 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ |
OLD | NEW |