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

Unified Diff: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc

Issue 1551503002: Convert Pass()→std::move() in //chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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: chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
diff --git a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
index 3b5e4469dbc8b25a392bbe9f772c095bcffe1e08..6c6fee9f693ec085d75caa82f667c79b5953a901 100644
--- a/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
+++ b/chrome/browser/safe_browsing/safe_browsing_service_browsertest.cc
@@ -6,7 +6,10 @@
// and a test protocol manager. It is used to test logics in safebrowsing
// service.
+#include "chrome/browser/safe_browsing/safe_browsing_service.h"
+
#include <algorithm>
+#include <utility>
#include "base/bind.h"
#include "base/command_line.h"
@@ -36,7 +39,6 @@
#include "chrome/browser/safe_browsing/metadata.pb.h"
#include "chrome/browser/safe_browsing/protocol_manager.h"
#include "chrome/browser/safe_browsing/safe_browsing_database.h"
-#include "chrome/browser/safe_browsing/safe_browsing_service.h"
#include "chrome/browser/safe_browsing/safe_browsing_util.h"
#include "chrome/browser/safe_browsing/ui_manager.h"
#include "chrome/browser/ui/browser.h"
@@ -1615,7 +1617,7 @@ class SafeBrowsingDatabaseManagerCookieTest : public InProcessBrowserTest {
http_response->set_content_type("text/plain");
http_response->AddCustomHeader(
"Set-Cookie", "c=d; Expires=Fri, 01 Jan 2038 01:01:01 GMT");
- return http_response.Pass();
+ return std::move(http_response);
}
scoped_ptr<TestSafeBrowsingServiceFactory> sb_factory_;

Powered by Google App Engine
This is Rietveld 408576698