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

Side by Side Diff: extensions/renderer/dom_activity_logger.h

Issue 1851933002: Convert //url to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: IWYU fixup 7 Created 4 years, 8 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
« no previous file with comments | « device/usb/webusb_descriptors.h ('k') | extensions/renderer/dom_activity_logger.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_RENDERER_DOM_ACTIVITY_LOGGER_H_ 5 #ifndef EXTENSIONS_RENDERER_DOM_ACTIVITY_LOGGER_H_
6 #define EXTENSIONS_RENDERER_DOM_ACTIVITY_LOGGER_H_ 6 #define EXTENSIONS_RENDERER_DOM_ACTIVITY_LOGGER_H_
7 7
8 #include <memory>
8 #include <string> 9 #include <string>
9 10
10 #include "base/macros.h" 11 #include "base/macros.h"
11 #include "extensions/common/dom_action_types.h" 12 #include "extensions/common/dom_action_types.h"
12 #include "third_party/WebKit/public/web/WebDOMActivityLogger.h" 13 #include "third_party/WebKit/public/web/WebDOMActivityLogger.h"
13 #include "v8/include/v8.h" 14 #include "v8/include/v8.h"
14 15
15 namespace base { 16 namespace base {
16 class ListValue; 17 class ListValue;
17 } 18 }
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 int argc, 70 int argc,
70 const blink::WebString* argv, 71 const blink::WebString* argv,
71 const blink::WebURL& url, 72 const blink::WebURL& url,
72 const blink::WebString& title) override; 73 const blink::WebString& title) override;
73 74
74 // Helper function to actually send the message across IPC. 75 // Helper function to actually send the message across IPC.
75 void SendDomActionMessage(const std::string& api_call, 76 void SendDomActionMessage(const std::string& api_call,
76 const GURL& url, 77 const GURL& url,
77 const base::string16& url_title, 78 const base::string16& url_title,
78 DomActionType::Type call_type, 79 DomActionType::Type call_type,
79 scoped_ptr<base::ListValue> args); 80 std::unique_ptr<base::ListValue> args);
80 81
81 // The id of the extension with which this logger is associated. 82 // The id of the extension with which this logger is associated.
82 std::string extension_id_; 83 std::string extension_id_;
83 84
84 DISALLOW_COPY_AND_ASSIGN(DOMActivityLogger); 85 DISALLOW_COPY_AND_ASSIGN(DOMActivityLogger);
85 }; 86 };
86 87
87 } // namespace extensions 88 } // namespace extensions
88 89
89 #endif // EXTENSIONS_RENDERER_DOM_ACTIVITY_LOGGER_H_ 90 #endif // EXTENSIONS_RENDERER_DOM_ACTIVITY_LOGGER_H_
90 91
OLDNEW
« no previous file with comments | « device/usb/webusb_descriptors.h ('k') | extensions/renderer/dom_activity_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698