summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/set_icon_natives.h
diff options
context:
space:
mode:
authorhashimoto <hashimoto@chromium.org>2015-01-18 20:03:40 -0800
committerCommit bot <commit-bot@chromium.org>2015-01-19 04:04:30 +0000
commit70ef14ff7ab6cf4df11b727941003fd5b47e9581 (patch)
treebc3c11434a5417a8e30e2c98772e42791c60f1ac /extensions/renderer/set_icon_natives.h
parent21b6c2d0ff4d729f1d6dc7314fa838a40785000f (diff)
downloadchromium_src-70ef14ff7ab6cf4df11b727941003fd5b47e9581.zip
chromium_src-70ef14ff7ab6cf4df11b727941003fd5b47e9581.tar.gz
chromium_src-70ef14ff7ab6cf4df11b727941003fd5b47e9581.tar.bz2
extensions: Remove unused private fields
BUG=447445 Review URL: https://codereview.chromium.org/801053007 Cr-Commit-Position: refs/heads/master@{#312067}
Diffstat (limited to 'extensions/renderer/set_icon_natives.h')
-rw-r--r--extensions/renderer/set_icon_natives.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/extensions/renderer/set_icon_natives.h b/extensions/renderer/set_icon_natives.h
index 0def0be..5e71443 100644
--- a/extensions/renderer/set_icon_natives.h
+++ b/extensions/renderer/set_icon_natives.h
@@ -8,19 +8,13 @@
#include "extensions/renderer/object_backed_native_handler.h"
#include "v8/include/v8.h"
-namespace base {
-class DictionaryValue;
-class Value;
-}
-
namespace extensions {
-class RequestSender;
class ScriptContext;
// Functions exposed to extension JS to implement the setIcon extension API.
class SetIconNatives : public ObjectBackedNativeHandler {
public:
- SetIconNatives(RequestSender* request_sender, ScriptContext* context);
+ explicit SetIconNatives(ScriptContext* context);
private:
bool ConvertImageDataToBitmapValue(const v8::Local<v8::Object> image_data,
@@ -30,8 +24,6 @@ class SetIconNatives : public ObjectBackedNativeHandler {
v8::Local<v8::Object>* bitmap_set_value);
void SetIconCommon(const v8::FunctionCallbackInfo<v8::Value>& args);
- RequestSender* request_sender_;
-
DISALLOW_COPY_AND_ASSIGN(SetIconNatives);
};