OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WINDOW_LIST_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_WINDOW_LIST_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WINDOW_LIST_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_WINDOW_LIST_H_ |
7 #pragma once | |
8 | 7 |
9 #include <list> | 8 #include <list> |
10 | 9 |
11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
12 #include "base/memory/singleton.h" | 11 #include "base/memory/singleton.h" |
13 #include "chrome/browser/extensions/extension_window_controller.h" | 12 #include "chrome/browser/extensions/extension_window_controller.h" |
14 | 13 |
15 class Profile; | 14 class Profile; |
16 class UIThreadExtensionFunction; | 15 class UIThreadExtensionFunction; |
17 | 16 |
(...skipping 25 matching lines...) Expand all Loading... |
43 private: | 42 private: |
44 friend struct DefaultSingletonTraits<ExtensionWindowList>; | 43 friend struct DefaultSingletonTraits<ExtensionWindowList>; |
45 | 44 |
46 // Entries are not owned by this class and must be removed when destroyed. | 45 // Entries are not owned by this class and must be removed when destroyed. |
47 WindowList windows_; | 46 WindowList windows_; |
48 | 47 |
49 DISALLOW_COPY_AND_ASSIGN(ExtensionWindowList); | 48 DISALLOW_COPY_AND_ASSIGN(ExtensionWindowList); |
50 }; | 49 }; |
51 | 50 |
52 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WINDOW_LIST_H_ | 51 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_WINDOW_LIST_H_ |
OLD | NEW |