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

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: 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/core/background/offliner.h
diff --git a/components/offline_pages/background/offliner.h b/components/offline_pages/core/background/offliner.h
similarity index 88%
rename from components/offline_pages/background/offliner.h
rename to components/offline_pages/core/background/offliner.h
index cafd068634dde132543e8b599ecf2bd15dd56b02..d0900a70531130287172df43c2aee775016827d3 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>
@@ -59,9 +59,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.
@@ -72,4 +71,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