mirror of
https://github.com/electron/electron.git
synced 2026-01-08 23:18:06 -05:00
34 lines
1.1 KiB
C++
34 lines
1.1 KiB
C++
// Copyright 2015 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef ELECTRON_SHELL_BROWSER_EXTENSIONS_API_RESOURCES_PRIVATE_RESOURCES_PRIVATE_API_H_
|
|
#define ELECTRON_SHELL_BROWSER_EXTENSIONS_API_RESOURCES_PRIVATE_RESOURCES_PRIVATE_API_H_
|
|
|
|
#include "extensions/browser/extension_function.h"
|
|
|
|
namespace extensions {
|
|
|
|
class ResourcesPrivateGetStringsFunction : public ExtensionFunction {
|
|
public:
|
|
DECLARE_EXTENSION_FUNCTION("resourcesPrivate.getStrings",
|
|
RESOURCESPRIVATE_GETSTRINGS)
|
|
ResourcesPrivateGetStringsFunction();
|
|
|
|
// disable copy
|
|
ResourcesPrivateGetStringsFunction(
|
|
const ResourcesPrivateGetStringsFunction&) = delete;
|
|
ResourcesPrivateGetStringsFunction& operator=(
|
|
const ResourcesPrivateGetStringsFunction&) = delete;
|
|
|
|
protected:
|
|
~ResourcesPrivateGetStringsFunction() override;
|
|
|
|
// Override from ExtensionFunction:
|
|
ExtensionFunction::ResponseAction Run() override;
|
|
};
|
|
|
|
} // namespace extensions
|
|
|
|
#endif // ELECTRON_SHELL_BROWSER_EXTENSIONS_API_RESOURCES_PRIVATE_RESOURCES_PRIVATE_API_H_
|