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: extensions/renderer/dom_activity_logger.h

Issue 268553002: Move DOMActivityLogger and associated code from //chrome to //extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
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
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
OLDNEW
« no previous file with comments | « extensions/renderer/activity_log_converter_strategy_unittest.cc ('k') | extensions/renderer/dom_activity_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698