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

Unified Diff: content/browser/devtools/protocol/page_handler.h

Issue 642263004: [DevTools] Make generated protocol structs wrappers around DictionaryValue (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix that will be needed for browser protocol Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/devtools/protocol/page_handler.h
diff --git a/content/browser/devtools/protocol/page_handler.h b/content/browser/devtools/protocol/page_handler.h
index fe01ece07941b0eee5a3b3b5413ec403d28d34ab..c6ed1b1973d0ff356585e336232d3ff6242d128f 100644
--- a/content/browser/devtools/protocol/page_handler.h
+++ b/content/browser/devtools/protocol/page_handler.h
@@ -47,8 +47,9 @@ class PageHandler {
Response Navigate(const std::string& url, FrameId* frame_id);
+ using NavigationEntries = std::vector<scoped_refptr<NavigationEntry>>;
Response GetNavigationHistory(int* current_index,
- std::vector<NavigationEntry>* entries);
+ NavigationEntries* entries);
Response NavigateToHistoryEntry(int entry_id);
@@ -101,7 +102,7 @@ class PageHandler {
void QueryUsageAndQuotaCompleted(
scoped_refptr<DevToolsProtocol::Command> command,
- scoped_ptr<QueryUsageAndQuotaResponse> response);
+ scoped_refptr<QueryUsageAndQuotaResponse> response);
bool enabled_;
bool touch_emulation_enabled_;

Powered by Google App Engine
This is Rietveld 408576698