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

Side by Side Diff: ash/test/shelf_item_delegate_manager_test_api.cc

Issue 2046513003: mash: Move shelf model and item classes to ash/common/shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@initshelfearly
Patch Set: 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 | « ash/sysui/shelf_delegate_mus.cc ('k') | ash/test/shelf_view_test_api.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "ash/test/shelf_item_delegate_manager_test_api.h" 5 #include "ash/test/shelf_item_delegate_manager_test_api.h"
6 6
7 #include "ash/shelf/shelf_item_delegate.h" 7 #include "ash/common/shelf/shelf_item_delegate.h"
8 #include "ash/shelf/shelf_item_delegate_manager.h" 8 #include "ash/common/shelf/shelf_item_delegate_manager.h"
9 #include "base/stl_util.h" 9 #include "base/stl_util.h"
10 10
11 namespace ash { 11 namespace ash {
12 namespace test { 12 namespace test {
13 13
14 ShelfItemDelegateManagerTestAPI::ShelfItemDelegateManagerTestAPI( 14 ShelfItemDelegateManagerTestAPI::ShelfItemDelegateManagerTestAPI(
15 ShelfItemDelegateManager* manager) 15 ShelfItemDelegateManager* manager)
16 : manager_(manager) { 16 : manager_(manager) {
17 DCHECK(manager_); 17 DCHECK(manager_);
18 } 18 }
19 19
20 void ShelfItemDelegateManagerTestAPI::RemoveAllShelfItemDelegateForTest() { 20 void ShelfItemDelegateManagerTestAPI::RemoveAllShelfItemDelegateForTest() {
21 STLDeleteContainerPairSecondPointers( 21 STLDeleteContainerPairSecondPointers(
22 manager_->id_to_item_delegate_map_.begin(), 22 manager_->id_to_item_delegate_map_.begin(),
23 manager_->id_to_item_delegate_map_.end()); 23 manager_->id_to_item_delegate_map_.end());
24 manager_->id_to_item_delegate_map_.clear(); 24 manager_->id_to_item_delegate_map_.clear();
25 } 25 }
26 26
27 } // namespace test 27 } // namespace test
28 } // namespace ash 28 } // namespace ash
OLDNEW
« no previous file with comments | « ash/sysui/shelf_delegate_mus.cc ('k') | ash/test/shelf_view_test_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698