| 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 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 603 | 603 |
| 604 // Implements the chrome.fileBrowserPrivate.getNetworkConnectionState method. | 604 // Implements the chrome.fileBrowserPrivate.getNetworkConnectionState method. |
| 605 class GetNetworkConnectionStateFunction : public SyncExtensionFunction { | 605 class GetNetworkConnectionStateFunction : public SyncExtensionFunction { |
| 606 protected: | 606 protected: |
| 607 virtual bool RunImpl() OVERRIDE; | 607 virtual bool RunImpl() OVERRIDE; |
| 608 private: | 608 private: |
| 609 DECLARE_EXTENSION_FUNCTION_NAME( | 609 DECLARE_EXTENSION_FUNCTION_NAME( |
| 610 "fileBrowserPrivate.getNetworkConnectionState"); | 610 "fileBrowserPrivate.getNetworkConnectionState"); |
| 611 }; | 611 }; |
| 612 | 612 |
| 613 // Implements the chrome.fileBrowserPrivate.requestDirectoryRefresh method. |
| 614 class RequestDirectoryRefreshFunction : public SyncExtensionFunction { |
| 615 protected: |
| 616 virtual bool RunImpl() OVERRIDE; |
| 617 private: |
| 618 DECLARE_EXTENSION_FUNCTION_NAME( |
| 619 "fileBrowserPrivate.requestDirectoryRefresh"); |
| 620 }; |
| 621 |
| 613 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ | 622 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_PRIVATE_API_H_ |
| OLD | NEW |