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_SORTING_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_SORTING_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SORTING_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_SORTING_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <string> | 9 #include <string> |
11 | 10 |
12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
13 #include "chrome/common/extensions/extension.h" | 12 #include "chrome/common/extensions/extension.h" |
14 #include "chrome/browser/extensions/extension_prefs.h" | 13 #include "chrome/browser/extensions/extension_prefs.h" |
15 #include "chrome/common/string_ordinal.h" | 14 #include "chrome/common/string_ordinal.h" |
16 | 15 |
17 class ExtensionScopedPrefs; | 16 class ExtensionScopedPrefs; |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
166 // The StringOrdinal is the page ordinal and the AppLaunchOrdinalMap is the | 165 // The StringOrdinal is the page ordinal and the AppLaunchOrdinalMap is the |
167 // contents of that page. | 166 // contents of that page. |
168 typedef std::map< | 167 typedef std::map< |
169 StringOrdinal, AppLaunchOrdinalMap, StringOrdinalLessThan> PageOrdinalMap; | 168 StringOrdinal, AppLaunchOrdinalMap, StringOrdinalLessThan> PageOrdinalMap; |
170 PageOrdinalMap ntp_ordinal_map_; | 169 PageOrdinalMap ntp_ordinal_map_; |
171 | 170 |
172 DISALLOW_COPY_AND_ASSIGN(ExtensionSorting); | 171 DISALLOW_COPY_AND_ASSIGN(ExtensionSorting); |
173 }; | 172 }; |
174 | 173 |
175 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SORTING_H_ | 174 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_SORTING_H_ |
OLD | NEW |