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

Unified Diff: components/offline_pages/offline_page_model.cc

Issue 2489443002: Move all components/offline_pages/ files into component/offline_pages/core (Closed)
Patch Set: more rebase Created 4 years, 1 month 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/offline_page_model.cc
diff --git a/components/offline_pages/offline_page_model.cc b/components/offline_pages/offline_page_model.cc
deleted file mode 100644
index 24b4dd097f2cf8d415e88bd94d8177629ab3788f..0000000000000000000000000000000000000000
--- a/components/offline_pages/offline_page_model.cc
+++ /dev/null
@@ -1,31 +0,0 @@
-// 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/offline_page_model.h"
-
-#include "url/gurl.h"
-
-namespace offline_pages {
-
-OfflinePageModel::SavePageParams::SavePageParams()
- : proposed_offline_id(OfflinePageModel::kInvalidOfflineId) {
-}
-
-OfflinePageModel::SavePageParams::SavePageParams(const SavePageParams& other) {
- url = other.url;
- client_id = other.client_id;
- proposed_offline_id = other.proposed_offline_id;
- original_url = other.original_url;
-}
-
-// static
-bool OfflinePageModel::CanSaveURL(const GURL& url) {
- return url.is_valid() && url.SchemeIsHTTPOrHTTPS();
-}
-
-OfflinePageModel::OfflinePageModel() {}
-
-OfflinePageModel::~OfflinePageModel() {}
-
-} // namespace offline_pages

Powered by Google App Engine
This is Rietveld 408576698