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_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API_H_ |
7 | 7 |
8 #include "base/platform_file.h" | 8 #include "base/platform_file.h" |
9 #include "chrome/browser/extensions/api/developer_private/entry_picker.h" | 9 #include "chrome/browser/extensions/api/developer_private/entry_picker.h" |
10 #include "chrome/browser/extensions/api/file_system/file_system_api.h" | 10 #include "chrome/browser/extensions/api/file_system/file_system_api.h" |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
354 DECLARE_EXTENSION_FUNCTION("developerPrivate.getStrings", | 354 DECLARE_EXTENSION_FUNCTION("developerPrivate.getStrings", |
355 DEVELOPERPRIVATE_GETSTRINGS); | 355 DEVELOPERPRIVATE_GETSTRINGS); |
356 | 356 |
357 protected: | 357 protected: |
358 virtual ~DeveloperPrivateGetStringsFunction(); | 358 virtual ~DeveloperPrivateGetStringsFunction(); |
359 | 359 |
360 // ExtensionFunction | 360 // ExtensionFunction |
361 virtual bool RunImpl() OVERRIDE; | 361 virtual bool RunImpl() OVERRIDE; |
362 }; | 362 }; |
363 | 363 |
| 364 class DeveloperPrivateIsProfileManagedFunction : public SyncExtensionFunction { |
| 365 public: |
| 366 DECLARE_EXTENSION_FUNCTION("developerPrivate.isProfileManaged", |
| 367 DEVELOPERPRIVATE_ISPROFILEMANAGED); |
| 368 |
| 369 protected: |
| 370 virtual ~DeveloperPrivateIsProfileManagedFunction(); |
| 371 |
| 372 // ExtensionFunction |
| 373 virtual bool RunImpl() OVERRIDE; |
| 374 }; |
| 375 |
364 class DeveloperPrivateExportSyncfsFolderToLocalfsFunction | 376 class DeveloperPrivateExportSyncfsFolderToLocalfsFunction |
365 : public AsyncExtensionFunction { | 377 : public AsyncExtensionFunction { |
366 public: | 378 public: |
367 DECLARE_EXTENSION_FUNCTION("developerPrivate.exportSyncfsFolderToLocalfs", | 379 DECLARE_EXTENSION_FUNCTION("developerPrivate.exportSyncfsFolderToLocalfs", |
368 DEVELOPERPRIVATE_LOADUNPACKEDCROS); | 380 DEVELOPERPRIVATE_LOADUNPACKEDCROS); |
369 | 381 |
370 DeveloperPrivateExportSyncfsFolderToLocalfsFunction(); | 382 DeveloperPrivateExportSyncfsFolderToLocalfsFunction(); |
371 | 383 |
372 protected: | 384 protected: |
373 virtual ~DeveloperPrivateExportSyncfsFolderToLocalfsFunction(); | 385 virtual ~DeveloperPrivateExportSyncfsFolderToLocalfsFunction(); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 | 434 |
423 void GetUnpackedExtension(const base::FilePath& path, | 435 void GetUnpackedExtension(const base::FilePath& path, |
424 const ExtensionSet* extensions); | 436 const ExtensionSet* extensions); |
425 }; | 437 }; |
426 | 438 |
427 } // namespace api | 439 } // namespace api |
428 | 440 |
429 } // namespace extensions | 441 } // namespace extensions |
430 | 442 |
431 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ | 443 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ |
OLD | NEW |