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

Unified Diff: headless/public/util/testing/generic_url_request_mocks.cc

Issue 2822473002: Add GetPostData and ID to headless::Request plus fix GetFrameTreeNodeId (Closed)
Patch Set: Add a test for GetPostData Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « headless/public/util/generic_url_request_job_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/public/util/testing/generic_url_request_mocks.cc
diff --git a/headless/public/util/testing/generic_url_request_mocks.cc b/headless/public/util/testing/generic_url_request_mocks.cc
index 4a7d37deb4ad539c711885aeded9cf64022a1cd8..d8c8f13e17e8c0a01daf64e09fa44ea0623512f6 100644
--- a/headless/public/util/testing/generic_url_request_mocks.cc
+++ b/headless/public/util/testing/generic_url_request_mocks.cc
@@ -4,6 +4,8 @@
#include "headless/public/util/testing/generic_url_request_mocks.h"
+#include <utility>
+
#include "base/logging.h"
#include "base/threading/thread_task_runner_handle.h"
@@ -29,7 +31,7 @@ void MockGenericURLRequestJobDelegate::OnPendingRequest(
}
void MockGenericURLRequestJobDelegate::SetPolicy(Policy policy) {
- policy_ = policy;
+ policy_ = std::move(policy);
}
void MockGenericURLRequestJobDelegate::ApplyPolicy(
« no previous file with comments | « headless/public/util/generic_url_request_job_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698