summaryrefslogtreecommitdiffstats
path: root/ash/test/shelf_item_delegate_manager_test_api.h
blob: 183bab583c0a8893ae0fef6a24b0a871ca0d7f36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef ASH_TEST_SHELF_ITEM_DELEGATE_MANAGER_TEST_API_H_
#define ASH_TEST_SHELF_ITEM_DELEGATE_MANAGER_TEST_API_H_

#include "base/basictypes.h"

namespace ash {

class ShelfItemDelegateManager;

namespace test {

// Accesses private methods from a ShelfItemDelegateManager for testing.
class ShelfItemDelegateManagerTestAPI {
 public:
  explicit ShelfItemDelegateManagerTestAPI(ShelfItemDelegateManager* manager);

  // Clear all exsiting ShelfItemDelegate for test.
  void RemoveAllShelfItemDelegateForTest();

 private:
  ShelfItemDelegateManager* manager_;  // Not owned.

  DISALLOW_COPY_AND_ASSIGN(ShelfItemDelegateManagerTestAPI);
};

}  // namespace test
}  // namespace ash

#endif  // ASH_TEST_SHELF_ITEM_DELEGATE_MANAGER_TEST_API_H_