Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(707)

Side by Side Diff: chrome/renderer/extensions/activity_log_converter_strategy.h

Issue 19730002: V8ValueConverter for the activity logger that does not invoke interceptors and (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated comment, deleted redundant code after rebase Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 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 #ifndef CHROME_RENDERER_EXTENSIONS_ACTIVITY_LOG_CONVERTER_STRATEGY_H_
6 #define CHROME_RENDERER_EXTENSIONS_ACTIVITY_LOG_CONVERTER_STRATEGY_H_
7
8 #include "base/compiler_specific.h"
9 #include "content/public/renderer/v8_value_converter.h"
10 #include "v8/include/v8.h"
11
12 namespace extensions {
13
14 class ActivityLogConverterStrategy
15 : public content::V8ValueConverter::Strategy {
16 public:
17 virtual bool FromV8Object(v8::Handle<v8::Object> value,
18 base::Value** out) const OVERRIDE;
19 virtual bool FromV8Array(v8::Handle<v8::Array> value,
20 base::Value** out) const OVERRIDE;
21
22 private:
23 bool FromV8ObjectInternal(v8::Handle<v8::Object> value,
24 base::Value** out) const;
25 };
26
27 } // namespace extensions
28
29 #endif // CHROME_RENDERER_EXTENSIONS_ACTIVITY_LOG_CONVERTER_STRATEGY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698