Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / ash / test / shelf_item_delegate_manager_test_api.cc
blob740164d69213e396749e0905e4b6dcc80283e072
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
3 // found in the LICENSE file.
5 #include "ash/test/shelf_item_delegate_manager_test_api.h"
7 #include "ash/shelf/shelf_item_delegate.h"
8 #include "ash/shelf/shelf_item_delegate_manager.h"
9 #include "base/stl_util.h"
11 namespace ash {
12 namespace test {
14 ShelfItemDelegateManagerTestAPI::ShelfItemDelegateManagerTestAPI(
15 ShelfItemDelegateManager* manager)
16 : manager_(manager) {
17 DCHECK(manager_);
20 void ShelfItemDelegateManagerTestAPI::RemoveAllShelfItemDelegateForTest() {
21 STLDeleteContainerPairSecondPointers(
22 manager_->id_to_item_delegate_map_.begin(),
23 manager_->id_to_item_delegate_map_.end());
24 manager_->id_to_item_delegate_map_.clear();
27 } // namespace test
28 } // namespace ash