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

Side by Side Diff: ios/clean/chrome/browser/model/BUILD.gn

Issue 2748793002: [ios] Add a delegate to WebStateList class. (Closed)
Patch Set: Browser owns the BrowserWebStateListDelegate. 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 2017 The Chromium Authors. All rights reserved. 1 # Copyright 2017 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("model") { 5 source_set("model") {
6 sources = [ 6 sources = [
7 "browser.h", 7 "browser.h",
8 "browser.mm", 8 "browser.mm",
9 "browser_list.h", 9 "browser_list.h",
10 "browser_list.mm", 10 "browser_list.mm",
11 "browser_web_state_list_delegate.h",
12 "browser_web_state_list_delegate.mm",
11 ] 13 ]
12 deps = [ 14 deps = [
13 "//base", 15 "//base",
14 "//ios/chrome/browser/browser_state", 16 "//ios/chrome/browser/browser_state",
15 "//ios/shared/chrome/browser/tabs", 17 "//ios/shared/chrome/browser/tabs",
16 ] 18 ]
17 configs += [ "//build/config/compiler:enable_arc" ] 19 configs += [ "//build/config/compiler:enable_arc" ]
18 } 20 }
19 21
20 source_set("unit_tests") { 22 source_set("unit_tests") {
21 testonly = true 23 testonly = true
22 sources = [ 24 sources = [
23 "browser_list_unittest.mm", 25 "browser_list_unittest.mm",
24 ] 26 ]
25 deps = [ 27 deps = [
26 ":model", 28 ":model",
27 "//base", 29 "//base",
28 "//ios/chrome/browser/browser_state:test_support", 30 "//ios/chrome/browser/browser_state:test_support",
29 "//testing/gtest", 31 "//testing/gtest",
30 ] 32 ]
31 configs += [ "//build/config/compiler:enable_arc" ] 33 configs += [ "//build/config/compiler:enable_arc" ]
32 } 34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698