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

Side by Side Diff: components/image_fetcher/core/image_decoder.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 COMPONENTS_IMAGE_FETCHER_IMAGE_DECODER_H_ 5 #ifndef COMPONENTS_IMAGE_FETCHER_CORE_IMAGE_DECODER_H_
6 #define COMPONENTS_IMAGE_FETCHER_IMAGE_DECODER_H_ 6 #define COMPONENTS_IMAGE_FETCHER_CORE_IMAGE_DECODER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback_forward.h" 10 #include "base/callback_forward.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 12
13 namespace gfx { 13 namespace gfx {
14 class Image; 14 class Image;
15 class Size; 15 class Size;
16 } // namespace gfx 16 } // namespace gfx
(...skipping 19 matching lines...) Expand all
36 virtual void DecodeImage(const std::string& image_data, 36 virtual void DecodeImage(const std::string& image_data,
37 const gfx::Size& desired_image_frame_size, 37 const gfx::Size& desired_image_frame_size,
38 const ImageDecodedCallback& callback) = 0; 38 const ImageDecodedCallback& callback) = 0;
39 39
40 private: 40 private:
41 DISALLOW_COPY_AND_ASSIGN(ImageDecoder); 41 DISALLOW_COPY_AND_ASSIGN(ImageDecoder);
42 }; 42 };
43 43
44 } // namespace image_fetcher 44 } // namespace image_fetcher
45 45
46 #endif // COMPONENTS_IMAGE_FETCHER_IMAGE_DECODER_H_ 46 #endif // COMPONENTS_IMAGE_FETCHER_CORE_IMAGE_DECODER_H_
OLDNEW
« no previous file with comments | « components/image_fetcher/core/image_data_fetcher_unittest.cc ('k') | components/image_fetcher/core/image_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698