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

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

Issue 2349603003: V4LDBM: Get response from GetHashManager, detect severest result (Closed)
Patch Set: Add test for GetSeverestThreatTypeAndMetadata Created 4 years, 3 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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 import("//third_party/protobuf/proto_library.gni") 5 import("//third_party/protobuf/proto_library.gni")
6 6
7 proto_library("safebrowsing_proto") { 7 proto_library("safebrowsing_proto") {
8 sources = [ 8 sources = [
9 "safebrowsing.proto", 9 "safebrowsing.proto",
10 ] 10 ]
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 "v4_get_hash_protocol_manager.cc", 189 "v4_get_hash_protocol_manager.cc",
190 "v4_get_hash_protocol_manager.h", 190 "v4_get_hash_protocol_manager.h",
191 ] 191 ]
192 public_deps = [ 192 public_deps = [
193 ":safebrowsing_proto", 193 ":safebrowsing_proto",
194 ] 194 ]
195 deps = [ 195 deps = [
196 ":util", 196 ":util",
197 ":v4_protocol_manager_util", 197 ":v4_protocol_manager_util",
198 "//base", 198 "//base",
199 "//content/public/browser",
199 "//net", 200 "//net",
200 "//url", 201 "//url",
201 ] 202 ]
202 } 203 }
203 204
204 static_library("v4_local_database_manager") { 205 static_library("v4_local_database_manager") {
205 sources = [ 206 sources = [
206 "v4_local_database_manager.cc", 207 "v4_local_database_manager.cc",
207 "v4_local_database_manager.h", 208 "v4_local_database_manager.h",
208 ] 209 ]
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 "v4_get_hash_protocol_manager_unittest.cc", 299 "v4_get_hash_protocol_manager_unittest.cc",
299 ] 300 ]
300 deps = [ 301 deps = [
301 ":safebrowsing_proto", 302 ":safebrowsing_proto",
302 ":util", 303 ":util",
303 ":v4_database", 304 ":v4_database",
304 ":v4_get_hash_protocol_manager", 305 ":v4_get_hash_protocol_manager",
305 ":v4_local_database_manager", 306 ":v4_local_database_manager",
306 "//base", 307 "//base",
307 "//base/test:test_support", 308 "//base/test:test_support",
309 "//content/test:test_support",
308 "//net", 310 "//net",
309 "//net:test_support", 311 "//net:test_support",
310 "//testing/gtest", 312 "//testing/gtest",
311 ] 313 ]
312 } 314 }
313 315
314 source_set("v4_local_database_manager_unittest") { 316 source_set("v4_local_database_manager_unittest") {
315 testonly = true 317 testonly = true
316 sources = [ 318 sources = [
317 "v4_local_database_manager_unittest.cc", 319 "v4_local_database_manager_unittest.cc",
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
385 "//base", 387 "//base",
386 "//components/variations", 388 "//components/variations",
387 "//testing/gtest", 389 "//testing/gtest",
388 "//url", 390 "//url",
389 ] 391 ]
390 if (is_win) { 392 if (is_win) {
391 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 393 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
392 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. 394 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'.
393 } 395 }
394 } 396 }
OLDNEW
« no previous file with comments | « no previous file | components/safe_browsing_db/v4_database.cc » ('j') | components/safe_browsing_db/v4_local_database_manager.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698