OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 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_DOM_ACTIVITY_LOGGER_H_ | 5 #ifndef EXTENSIONS_RENDERER_DOM_ACTIVITY_LOGGER_H_ |
6 #define CHROME_RENDERER_EXTENSIONS_DOM_ACTIVITY_LOGGER_H_ | 6 #define EXTENSIONS_RENDERER_DOM_ACTIVITY_LOGGER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/strings/string_piece.h" | 10 #include "base/macros.h" |
11 #include "third_party/WebKit/public/platform/WebString.h" | |
12 #include "third_party/WebKit/public/platform/WebURL.h" | |
13 #include "third_party/WebKit/public/web/WebDOMActivityLogger.h" | 11 #include "third_party/WebKit/public/web/WebDOMActivityLogger.h" |
14 #include "url/gurl.h" | |
15 #include "v8/include/v8.h" | |
16 | 12 |
17 namespace content { | 13 namespace content { |
18 class V8ValueConverter; | 14 class V8ValueConverter; |
19 } | 15 } |
20 | 16 |
21 namespace extensions { | 17 namespace extensions { |
22 | 18 |
23 class ActivityLogConverterStrategy; | 19 class ActivityLogConverterStrategy; |
24 | 20 |
25 // Used to log DOM API calls from within WebKit. The events are sent via IPC to | 21 // Used to log DOM API calls from within WebKit. The events are sent via IPC to |
(...skipping 22 matching lines...) Expand all Loading... |
48 const std::string& extension_id); | 44 const std::string& extension_id); |
49 | 45 |
50 private: | 46 private: |
51 std::string extension_id_; | 47 std::string extension_id_; |
52 | 48 |
53 DISALLOW_COPY_AND_ASSIGN(DOMActivityLogger); | 49 DISALLOW_COPY_AND_ASSIGN(DOMActivityLogger); |
54 }; | 50 }; |
55 | 51 |
56 } // namespace extensions | 52 } // namespace extensions |
57 | 53 |
58 #endif // CHROME_RENDERER_EXTENSIONS_DOM_ACTIVITY_LOGGER_H_ | 54 #endif // EXTENSIONS_RENDERER_DOM_ACTIVITY_LOGGER_H_ |
59 | 55 |
OLD | NEW |