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

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

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
Index: components/image_fetcher/core/image_data_fetcher.cc
diff --git a/components/image_fetcher/image_data_fetcher.cc b/components/image_fetcher/core/image_data_fetcher.cc
similarity index 96%
rename from components/image_fetcher/image_data_fetcher.cc
rename to components/image_fetcher/core/image_data_fetcher.cc
index 60b8ddf0dad5ebec59a6105bfe4de969c4b45ecd..0ef812f6465ffe2436e7aed35d73fa781d14c0ab 100644
--- a/components/image_fetcher/image_data_fetcher.cc
+++ b/components/image_fetcher/core/image_data_fetcher.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "components/image_fetcher/image_data_fetcher.h"
+#include "components/image_fetcher/core/image_data_fetcher.h"
#include "net/base/load_flags.h"
#include "net/http/http_response_headers.h"
@@ -21,8 +21,7 @@ namespace image_fetcher {
struct ImageDataFetcher::ImageDataFetcherRequest {
ImageDataFetcherRequest(const ImageDataFetcherCallback& callback,
std::unique_ptr<net::URLFetcher> url_fetcher)
- : callback(callback),
- url_fetcher(std::move(url_fetcher)) {}
+ : callback(callback), url_fetcher(std::move(url_fetcher)) {}
~ImageDataFetcherRequest() {}
« no previous file with comments | « components/image_fetcher/core/image_data_fetcher.h ('k') | components/image_fetcher/core/image_data_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698