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

Unified Diff: components/offline_pages/core/background/offliner.h

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/core/background/offliner.h
diff --git a/components/offline_pages/background/offliner.h b/components/offline_pages/core/background/offliner.h
similarity index 89%
rename from components/offline_pages/background/offliner.h
rename to components/offline_pages/core/background/offliner.h
index 7238de9d3d3510d9565815f0439c304315b70583..6cc51ecae5178853c2b621e3199e2f082fed4ddd 100644
--- a/components/offline_pages/background/offliner.h
+++ b/components/offline_pages/core/background/offliner.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_OFFLINE_PAGES_BACKGROUND_OFFLINER_H_
-#define COMPONENTS_OFFLINE_PAGES_BACKGROUND_OFFLINER_H_
+#ifndef COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_OFFLINER_H_
+#define COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_OFFLINER_H_
#include <string>
@@ -62,9 +62,8 @@ class Offliner {
// Processes |request| to load and save an offline page.
// Returns whether the request was accepted or not. |callback| is guaranteed
// to be called if the request was accepted and |Cancel()| is not called.
- virtual bool LoadAndSave(
- const SavePageRequest& request,
- const CompletionCallback& callback) = 0;
+ virtual bool LoadAndSave(const SavePageRequest& request,
+ const CompletionCallback& callback) = 0;
// Clears the currently processing request, if any, and skips running its
// CompletionCallback.
@@ -75,4 +74,4 @@ class Offliner {
} // namespace offline_pages
-#endif // COMPONENTS_OFFLINE_PAGES_BACKGROUND_OFFLINER_H_
+#endif // COMPONENTS_OFFLINE_PAGES_CORE_BACKGROUND_OFFLINER_H_

Powered by Google App Engine
This is Rietveld 408576698