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

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: rebase Created 4 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: 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 39cd918dc744d35c3daaa4997432072ca2ef50d3..0000000000000000000000000000000000000000
--- a/components/offline_pages/offline_page_model.cc
+++ /dev/null
@@ -1,33 +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 {
-
-const int64_t OfflinePageModel::kInvalidOfflineId;
-
-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
« no previous file with comments | « components/offline_pages/offline_page_model.h ('k') | components/offline_pages/offline_page_model_event_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698