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

Unified Diff: components/history/core/test/fake_web_history_service.cc

Issue 1983073002: Query the existence other forms of browsing history. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: components/history/core/test/fake_web_history_service.cc
diff --git a/components/history/core/test/fake_web_history_service.cc b/components/history/core/test/fake_web_history_service.cc
index 2739974eec5669576689b8058928fea75d90805e..ead68113838550714c203dfded4f906e690ea48c 100644
--- a/components/history/core/test/fake_web_history_service.cc
+++ b/components/history/core/test/fake_web_history_service.cc
@@ -34,6 +34,7 @@ class FakeRequest : public WebHistoryService::Request {
int GetResponseCode() override;
const std::string& GetResponseBody() override;
void SetPostData(const std::string& post_data) override;
+ void SetUserAgent(const std::string& user_agent) override;
void Start() override;
private:
@@ -92,6 +93,10 @@ void FakeRequest::SetPostData(const std::string& post_data) {
// Unused.
};
+void FakeRequest::SetUserAgent(const std::string& user_agent) {
+ // Unused.
+};
+
void FakeRequest::Start() {
is_pending_ = true;
callback_.Run(this, emulate_success_);

Powered by Google App Engine
This is Rietveld 408576698