| Index: chrome/renderer/extensions/activity_log_converter_strategy.h
|
| diff --git a/chrome/renderer/extensions/activity_log_converter_strategy.h b/chrome/renderer/extensions/activity_log_converter_strategy.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..f8c496fd9d378b88c252a8ccc8084dbd0705071e
|
| --- /dev/null
|
| +++ b/chrome/renderer/extensions/activity_log_converter_strategy.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright (c) 2013 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 CHROME_RENDERER_EXTENSIONS_ACTIVITY_LOG_CONVERTER_STRATEGY_H_
|
| +#define CHROME_RENDERER_EXTENSIONS_ACTIVITY_LOG_CONVERTER_STRATEGY_H_
|
| +
|
| +#include "base/compiler_specific.h"
|
| +#include "content/public/renderer/v8_value_converter.h"
|
| +#include "v8/include/v8.h"
|
| +
|
| +namespace extensions {
|
| +
|
| +class ActivityLogConverterStrategy
|
| + : public content::V8ValueConverter::Strategy {
|
| + public:
|
| + virtual bool FromV8Object(v8::Handle<v8::Object> value,
|
| + base::Value** out) const OVERRIDE;
|
| + virtual bool FromV8Array(v8::Handle<v8::Array> value,
|
| + base::Value** out) const OVERRIDE;
|
| +
|
| + private:
|
| + bool FromV8ObjectInternal(v8::Handle<v8::Object> value,
|
| + base::Value** out) const;
|
| +};
|
| +
|
| +} // namespace extensions
|
| +
|
| +#endif // CHROME_RENDERER_EXTENSIONS_ACTIVITY_LOG_CONVERTER_STRATEGY_H_
|
|
|