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

Unified Diff: components/image_fetcher/core/image_data_fetcher.h

Issue 2761303002: Move common ImageFetcher component files to core/ (Closed)
Patch Set: Rebased. Created 3 years, 9 months 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
« no previous file with comments | « components/image_fetcher/core/BUILD.gn ('k') | components/image_fetcher/core/image_data_fetcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/image_fetcher/core/image_data_fetcher.h
diff --git a/components/image_fetcher/image_data_fetcher.h b/components/image_fetcher/core/image_data_fetcher.h
similarity index 92%
rename from components/image_fetcher/image_data_fetcher.h
rename to components/image_fetcher/core/image_data_fetcher.h
index fbf544f688476496cb26a4b4dd48325d84d7d605..cac22fa2f581f121889c18fbcf4d3b6e508c8860 100644
--- a/components/image_fetcher/image_data_fetcher.h
+++ b/components/image_fetcher/core/image_data_fetcher.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_IMAGE_FETCHER_IMAGE_DATA_FETCHER_H_
-#define COMPONENTS_IMAGE_FETCHER_IMAGE_DATA_FETCHER_H_
+#ifndef COMPONENTS_IMAGE_FETCHER_CORE_IMAGE_DATA_FETCHER_H_
+#define COMPONENTS_IMAGE_FETCHER_CORE_IMAGE_DATA_FETCHER_H_
#include <map>
#include <memory>
@@ -13,7 +13,7 @@
#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "components/data_use_measurement/core/data_use_user_data.h"
-#include "components/image_fetcher/request_metadata.h"
+#include "components/image_fetcher/core/request_metadata.h"
#include "net/url_request/url_fetcher_delegate.h"
#include "net/url_request/url_request.h"
#include "url/gurl.h"
@@ -27,7 +27,6 @@ namespace image_fetcher {
class ImageDataFetcher : public net::URLFetcherDelegate {
public:
-
// Callback with the |image_data|. If an error prevented a http response,
// |request_metadata.response_code| will be RESPONSE_CODE_INVALID.
using ImageDataFetcherCallback =
@@ -81,4 +80,4 @@ class ImageDataFetcher : public net::URLFetcherDelegate {
} // namespace image_fetcher
-#endif // COMPONENTS_IMAGE_FETCHER_IMAGE_DATA_FETCHER_H_
+#endif // COMPONENTS_IMAGE_FETCHER_CORE_IMAGE_DATA_FETCHER_H_
« no previous file with comments | « components/image_fetcher/core/BUILD.gn ('k') | components/image_fetcher/core/image_data_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698