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 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 DECLARE_EXTENSION_FUNCTION("developerPrivate.getStrings", | 342 DECLARE_EXTENSION_FUNCTION("developerPrivate.getStrings", |
343 DEVELOPERPRIVATE_GETSTRINGS); | 343 DEVELOPERPRIVATE_GETSTRINGS); |
344 | 344 |
345 protected: | 345 protected: |
346 virtual ~DeveloperPrivateGetStringsFunction(); | 346 virtual ~DeveloperPrivateGetStringsFunction(); |
347 | 347 |
348 // ExtensionFunction | 348 // ExtensionFunction |
349 virtual bool RunImpl() OVERRIDE; | 349 virtual bool RunImpl() OVERRIDE; |
350 }; | 350 }; |
351 | 351 |
| 352 class DeveloperPrivateIsProfileManagedFunction : public SyncExtensionFunction { |
| 353 public: |
| 354 DECLARE_EXTENSION_FUNCTION("developerPrivate.isProfileManaged", |
| 355 DEVELOPERPRIVATE_ISPROFILEMANAGED); |
| 356 |
| 357 protected: |
| 358 virtual ~DeveloperPrivateIsProfileManagedFunction(); |
| 359 |
| 360 // ExtensionFunction |
| 361 virtual bool RunImpl() OVERRIDE; |
| 362 }; |
| 363 |
352 class DeveloperPrivateExportSyncfsFolderToLocalfsFunction | 364 class DeveloperPrivateExportSyncfsFolderToLocalfsFunction |
353 : public AsyncExtensionFunction { | 365 : public AsyncExtensionFunction { |
354 public: | 366 public: |
355 DECLARE_EXTENSION_FUNCTION("developerPrivate.exportSyncfsFolderToLocalfs", | 367 DECLARE_EXTENSION_FUNCTION("developerPrivate.exportSyncfsFolderToLocalfs", |
356 DEVELOPERPRIVATE_LOADUNPACKEDCROS); | 368 DEVELOPERPRIVATE_LOADUNPACKEDCROS); |
357 | 369 |
358 DeveloperPrivateExportSyncfsFolderToLocalfsFunction(); | 370 DeveloperPrivateExportSyncfsFolderToLocalfsFunction(); |
359 | 371 |
360 protected: | 372 protected: |
361 virtual ~DeveloperPrivateExportSyncfsFolderToLocalfsFunction(); | 373 virtual ~DeveloperPrivateExportSyncfsFolderToLocalfsFunction(); |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 | 422 |
411 void GetUnpackedExtension(const base::FilePath& path, | 423 void GetUnpackedExtension(const base::FilePath& path, |
412 const ExtensionSet* extensions); | 424 const ExtensionSet* extensions); |
413 }; | 425 }; |
414 | 426 |
415 } // namespace api | 427 } // namespace api |
416 | 428 |
417 } // namespace extensions | 429 } // namespace extensions |
418 | 430 |
419 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ | 431 #endif // CHROME_BROWSER_EXTENSIONS_API_DEVELOPER_PRIVATE_DEVELOPER_PRIVATE_API
_H_ |
OLD | NEW |