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

Side by Side Diff: chrome/browser/search/suggestions/image_decoder_impl.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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SEARCH_SUGGESTIONS_IMAGE_DECODER_IMPL_H_ 5 #ifndef CHROME_BROWSER_SEARCH_SUGGESTIONS_IMAGE_DECODER_IMPL_H_
6 #define CHROME_BROWSER_SEARCH_SUGGESTIONS_IMAGE_DECODER_IMPL_H_ 6 #define CHROME_BROWSER_SEARCH_SUGGESTIONS_IMAGE_DECODER_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <vector> 9 #include <vector>
10 10
11 #include "chrome/browser/image_decoder.h" 11 #include "chrome/browser/image_decoder.h"
12 #include "components/image_fetcher/image_decoder.h" 12 #include "components/image_fetcher/core/image_decoder.h"
13 13
14 namespace suggestions { 14 namespace suggestions {
15 15
16 // image_fetcher::ImageDecoder implementation. 16 // image_fetcher::ImageDecoder implementation.
17 // TODO(treib,markusheintz): Move this to a better place - it really has 17 // TODO(treib,markusheintz): Move this to a better place - it really has
18 // nothing to do with suggestions. crbug.com/624761 18 // nothing to do with suggestions. crbug.com/624761
19 class ImageDecoderImpl : public image_fetcher::ImageDecoder { 19 class ImageDecoderImpl : public image_fetcher::ImageDecoder {
20 public: 20 public:
21 ImageDecoderImpl(); 21 ImageDecoderImpl();
22 ~ImageDecoderImpl() override; 22 ~ImageDecoderImpl() override;
(...skipping 12 matching lines...) Expand all
35 // All active image decoding requests. 35 // All active image decoding requests.
36 std::vector<std::unique_ptr<DecodeImageRequest>> decode_image_requests_; 36 std::vector<std::unique_ptr<DecodeImageRequest>> decode_image_requests_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(ImageDecoderImpl); 38 DISALLOW_COPY_AND_ASSIGN(ImageDecoderImpl);
39 }; 39 };
40 40
41 } // namespace suggestions 41 } // namespace suggestions
42 42
43 #endif // CHROME_BROWSER_SEARCH_SUGGESTIONS_IMAGE_DECODER_IMPL_H_ 43 #endif // CHROME_BROWSER_SEARCH_SUGGESTIONS_IMAGE_DECODER_IMPL_H_
44 44
OLDNEW
« no previous file with comments | « chrome/browser/search/instant_service.cc ('k') | chrome/browser/search/suggestions/image_fetcher_impl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698