Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / chromeos / extensions / file_manager / private_api_strings.h
blob1ee6d64fbbeac2222e7fde802b42276e41d9adb0
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 //
5 // This file only provides getStrings() as the .cc file for it is big.
7 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_STRINGS_H_
8 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_STRINGS_H_
10 #include "chrome/browser/extensions/chrome_extension_function.h"
12 namespace extensions {
14 // Implements the chrome.fileManagerPrivate.getStrings method.
15 // Used to get strings for the file manager from JavaScript.
16 class FileManagerPrivateGetStringsFunction
17 : public ChromeSyncExtensionFunction {
18 public:
19 DECLARE_EXTENSION_FUNCTION("fileManagerPrivate.getStrings",
20 FILEMANAGERPRIVATE_GETSTRINGS)
22 FileManagerPrivateGetStringsFunction();
24 protected:
25 ~FileManagerPrivateGetStringsFunction() override;
27 // SyncExtensionFunction overrides.
28 bool RunSync() override;
31 } // namespace extensions
33 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_PRIVATE_API_STRINGS_H_