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

Side by Side Diff: chrome/browser/extensions/image_loader.h

Issue 12578008: Move CrxFile, FileReader, ExtensionResource to src/extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_EXTENSIONS_IMAGE_LOADER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_IMAGE_LOADER_H_
6 #define CHROME_BROWSER_EXTENSIONS_IMAGE_LOADER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_IMAGE_LOADER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 10
11 #include "base/callback_forward.h" 11 #include "base/callback_forward.h"
12 #include "base/gtest_prod_util.h" 12 #include "base/gtest_prod_util.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "chrome/browser/profiles/profile_keyed_service.h" 14 #include "chrome/browser/profiles/profile_keyed_service.h"
15 #include "chrome/common/extensions/extension_resource.h" 15 #include "extensions/common/extension_resource.h"
16 #include "third_party/skia/include/core/SkBitmap.h" 16 #include "third_party/skia/include/core/SkBitmap.h"
17 #include "ui/base/layout.h" 17 #include "ui/base/layout.h"
18 #include "ui/gfx/size.h" 18 #include "ui/gfx/size.h"
19 19
20 class Profile; 20 class Profile;
21 21
22 namespace gfx { 22 namespace gfx {
23 class Image; 23 class Image;
24 } 24 }
25 25
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 std::vector<LoadResult>* load_result); 108 std::vector<LoadResult>* load_result);
109 109
110 void ReplyBack( 110 void ReplyBack(
111 const std::vector<LoadResult>* load_result, 111 const std::vector<LoadResult>* load_result,
112 const base::Callback<void(const gfx::Image&)>& callback); 112 const base::Callback<void(const gfx::Image&)>& callback);
113 }; 113 };
114 114
115 } // namespace extensions 115 } // namespace extensions
116 116
117 #endif // CHROME_BROWSER_EXTENSIONS_IMAGE_LOADER_H_ 117 #endif // CHROME_BROWSER_EXTENSIONS_IMAGE_LOADER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/file_reader_unittest.cc ('k') | chrome/browser/extensions/image_loader_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698