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

Side by Side Diff: components/image_fetcher/BUILD.gn

Issue 2074093002: Add a unittest for image_data_fetcher (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use only a single callback object in the FetchImageData_MultipleRequests Created 4 years, 6 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
« no previous file with comments | « components/components_tests.gyp ('k') | components/image_fetcher/image_data_fetcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 source_set("image_fetcher") { 5 source_set("image_fetcher") {
6 sources = [ 6 sources = [
7 "image_data_fetcher.cc", 7 "image_data_fetcher.cc",
8 "image_data_fetcher.h", 8 "image_data_fetcher.h",
9 "image_decoder.h", 9 "image_decoder.h",
10 "image_fetcher.h", 10 "image_fetcher.h",
11 "image_fetcher_delegate.h", 11 "image_fetcher_delegate.h",
12 ] 12 ]
13 13
14 public_deps = [ 14 public_deps = [
15 "//base", 15 "//base",
16 "//net", 16 "//net",
17 "//url", 17 "//url",
18 ] 18 ]
19 } 19 }
20
21 source_set("unit_tests") {
22 testonly = true
23 sources = [
24 "image_data_fetcher_unittest.cc",
25 ]
26 deps = [
27 ":image_fetcher",
28 "//net",
29 "//net:test_support",
30 "//testing/gmock",
31 "//testing/gtest",
32 ]
33 }
OLDNEW
« no previous file with comments | « components/components_tests.gyp ('k') | components/image_fetcher/image_data_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698