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

Unified Diff: components/offline_pages/core/downloads/download_ui_adapter.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/downloads/download_ui_adapter.h
diff --git a/components/offline_pages/downloads/download_ui_adapter.h b/components/offline_pages/core/downloads/download_ui_adapter.h
similarity index 91%
rename from components/offline_pages/downloads/download_ui_adapter.h
rename to components/offline_pages/core/downloads/download_ui_adapter.h
index a8835fe039fbc31234c234dfb3fd5c2ee33c985f..3d23b13f793df80e50dc03b39e996814f34aaeb3 100644
--- a/components/offline_pages/downloads/download_ui_adapter.h
+++ b/components/offline_pages/core/downloads/download_ui_adapter.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_PAGE_DOWNLOADS_DOWNLOAD_UI_ADAPTER_H_
-#define COMPONENTS_OFFLINE_PAGE_DOWNLOADS_DOWNLOAD_UI_ADAPTER_H_
+#ifndef COMPONENTS_OFFLINE_PAGES_CORE_DOWNLOADS_DOWNLOAD_UI_ADAPTER_H_
+#define COMPONENTS_OFFLINE_PAGES_CORE_DOWNLOADS_DOWNLOAD_UI_ADAPTER_H_
#include <map>
#include <memory>
@@ -12,9 +12,9 @@
#include "base/observer_list.h"
#include "base/supports_user_data.h"
-#include "components/offline_pages/downloads/download_ui_item.h"
-#include "components/offline_pages/offline_page_model.h"
-#include "components/offline_pages/offline_page_types.h"
+#include "components/offline_pages/core/downloads/download_ui_item.h"
+#include "components/offline_pages/core/offline_page_model.h"
+#include "components/offline_pages/core/offline_page_types.h"
#include "url/gurl.h"
namespace offline_pages {
@@ -85,11 +85,7 @@ class DownloadUIAdapter : public OfflinePageModel::Observer,
const ClientId& client_id) override;
private:
- enum class State {
- NOT_LOADED,
- LOADING,
- LOADED
- };
+ enum class State { NOT_LOADED, LOADING, LOADED };
struct ItemInfo {
explicit ItemInfo(const OfflinePageItem& page);

Powered by Google App Engine
This is Rietveld 408576698