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

Unified Diff: components/offline_pages/background/request_coordinator.cc

Issue 2222193002: Fix naming nit was_user_requested to user_requested (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix merge conflict Created 4 years, 4 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 | « no previous file | components/offline_pages/background/save_page_request.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/offline_pages/background/request_coordinator.cc
diff --git a/components/offline_pages/background/request_coordinator.cc b/components/offline_pages/background/request_coordinator.cc
index 20f2e745127286af88e9539a9237b181eaf422c9..cde6cede1f0810c79d13b57acbe799e983b330d1 100644
--- a/components/offline_pages/background/request_coordinator.cc
+++ b/components/offline_pages/background/request_coordinator.cc
@@ -69,7 +69,7 @@ RequestCoordinator::RequestCoordinator(std::unique_ptr<OfflinerPolicy> policy,
RequestCoordinator::~RequestCoordinator() {}
bool RequestCoordinator::SavePageLater(
- const GURL& url, const ClientId& client_id, bool was_user_requested) {
+ const GURL& url, const ClientId& client_id, bool user_requested) {
DVLOG(2) << "URL is " << url << " " << __func__;
if (!OfflinePageModel::CanSaveURL(url)) {
@@ -82,7 +82,7 @@ bool RequestCoordinator::SavePageLater(
// Build a SavePageRequest.
offline_pages::SavePageRequest request(
- id++, url, client_id, base::Time::Now(), was_user_requested);
+ id++, url, client_id, base::Time::Now(), user_requested);
// Put the request on the request queue.
queue_->AddRequest(request,
« no previous file with comments | « no previous file | components/offline_pages/background/save_page_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698