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

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

Issue 1932953002: [Offline pages] Empty RequestQueue and SavePageRequest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated with documentation and formatting Created 4 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
Index: components/offline_pages/background/request_queue.cc
diff --git a/components/offline_pages/background/request_queue.cc b/components/offline_pages/background/request_queue.cc
new file mode 100644
index 0000000000000000000000000000000000000000..0e372c2a75f12da04d8a1134e547ca2b6e4b94b3
--- /dev/null
+++ b/components/offline_pages/background/request_queue.cc
@@ -0,0 +1,30 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "components/offline_pages/background/request_queue.h"
+
dougarnett 2016/04/29 15:39:14 I saw Pete do this too. Is there some style pref t
Pete Williamson 2016/04/29 16:19:03 The style guide says that the include file that go
fgorski 2016/04/30 18:56:14 As Pete said.
+#include "components/offline_pages/background/save_page_request.h"
+
+namespace offline_pages {
+
+RequestQueue::RequestQueue() {}
+
+RequestQueue::~RequestQueue() {}
+
+void RequestQueue::GetRequests(const GetRequestsResult& callback) {}
+
+void RequestQueue::AddRequest(const SavePageRequest& request,
+ const AddRequestCallback& callback) {}
+
+void RequestQueue::UpdateRequest(const SavePageRequest& request,
+ const UpdateRequestCallback& callback) {}
+
+void RequestQueue::RemoveRequest(int64_t request_id,
+ const UpdateRequestCallback& callback) {}
+
+void RequestQueue::PurgeRequests(const PurgeRequestsCallback& callback) {}
+
+} // namespace offline_pages
+
+#endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_REQUEST_QUEUE_H_

Powered by Google App Engine
This is Rietveld 408576698