OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_RENDERER_EXTENSIONS_ACTIVITY_LOG_CONVERTER_STRATEGY_H_ | 5 #ifndef EXTENSIONS_RENDERER_ACTIVITY_LOG_CONVERTER_STRATEGY_H_ |
6 #define CHROME_RENDERER_EXTENSIONS_ACTIVITY_LOG_CONVERTER_STRATEGY_H_ | 6 #define EXTENSIONS_RENDERER_ACTIVITY_LOG_CONVERTER_STRATEGY_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "content/public/renderer/v8_value_converter.h" | 10 #include "content/public/renderer/v8_value_converter.h" |
11 #include "v8/include/v8.h" | 11 #include "v8/include/v8.h" |
12 | 12 |
13 namespace extensions { | 13 namespace extensions { |
14 | 14 |
15 // This class is used by activity logger and extends behavior of | 15 // This class is used by activity logger and extends behavior of |
16 // V8ValueConverter. It overwrites conversion of V8 arrays and objects. When | 16 // V8ValueConverter. It overwrites conversion of V8 arrays and objects. When |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 // Whether or not to extract a detailed value from the passed in objects. We | 49 // Whether or not to extract a detailed value from the passed in objects. We |
50 // do this when we need more information about the arguments in order to | 50 // do this when we need more information about the arguments in order to |
51 // determine, e.g., if an ad was injected. | 51 // determine, e.g., if an ad was injected. |
52 bool enable_detailed_parsing_; | 52 bool enable_detailed_parsing_; |
53 | 53 |
54 DISALLOW_COPY_AND_ASSIGN(ActivityLogConverterStrategy); | 54 DISALLOW_COPY_AND_ASSIGN(ActivityLogConverterStrategy); |
55 }; | 55 }; |
56 | 56 |
57 } // namespace extensions | 57 } // namespace extensions |
58 | 58 |
59 #endif // CHROME_RENDERER_EXTENSIONS_ACTIVITY_LOG_CONVERTER_STRATEGY_H_ | 59 #endif // EXTENSIONS_RENDERER_ACTIVITY_LOG_CONVERTER_STRATEGY_H_ |
OLD | NEW |