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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 | 166 |
167 void JsonReceived(const DispatchCallback& callback, | 167 void JsonReceived(const DispatchCallback& callback, |
168 int result, | 168 int result, |
169 const std::string& message); | 169 const std::string& message); |
170 void DevicesDiscoveryConfigUpdated(); | 170 void DevicesDiscoveryConfigUpdated(); |
171 | 171 |
172 // DevToolsFileHelper::Delegate overrides. | 172 // DevToolsFileHelper::Delegate overrides. |
173 void FileSystemAdded( | 173 void FileSystemAdded( |
174 const DevToolsFileHelper::FileSystem& file_system) override; | 174 const DevToolsFileHelper::FileSystem& file_system) override; |
175 void FileSystemRemoved(const std::string& file_system_path) override; | 175 void FileSystemRemoved(const std::string& file_system_path) override; |
| 176 void FilePathsChanged(const std::vector<std::string>& file_paths) override; |
176 | 177 |
177 // DevToolsFileHelper callbacks. | 178 // DevToolsFileHelper callbacks. |
178 void FileSavedAs(const std::string& url); | 179 void FileSavedAs(const std::string& url); |
179 void CanceledFileSaveAs(const std::string& url); | 180 void CanceledFileSaveAs(const std::string& url); |
180 void AppendedTo(const std::string& url); | 181 void AppendedTo(const std::string& url); |
181 void IndexingTotalWorkCalculated(int request_id, | 182 void IndexingTotalWorkCalculated(int request_id, |
182 const std::string& file_system_path, | 183 const std::string& file_system_path, |
183 int total_work); | 184 int total_work); |
184 void IndexingWorked(int request_id, | 185 void IndexingWorked(int request_id, |
185 const std::string& file_system_path, | 186 const std::string& file_system_path, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; | 220 scoped_ptr<DevToolsEmbedderMessageDispatcher> embedder_message_dispatcher_; |
220 GURL url_; | 221 GURL url_; |
221 using PendingRequestsMap = std::map<const net::URLFetcher*, DispatchCallback>; | 222 using PendingRequestsMap = std::map<const net::URLFetcher*, DispatchCallback>; |
222 PendingRequestsMap pending_requests_; | 223 PendingRequestsMap pending_requests_; |
223 base::WeakPtrFactory<DevToolsUIBindings> weak_factory_; | 224 base::WeakPtrFactory<DevToolsUIBindings> weak_factory_; |
224 | 225 |
225 DISALLOW_COPY_AND_ASSIGN(DevToolsUIBindings); | 226 DISALLOW_COPY_AND_ASSIGN(DevToolsUIBindings); |
226 }; | 227 }; |
227 | 228 |
228 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ | 229 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_UI_BINDINGS_H_ |
OLD | NEW |