OLD | NEW |
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 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_CACHE_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_WEBSTORE_CACHE_H_ |
6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_CACHE_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_WEBSTORE_CACHE_H_ |
7 | 7 |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/containers/mru_cache.h" | 11 #include "base/containers/mru_cache.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/time/time.h" | 13 #include "base/time/time.h" |
14 | 14 |
15 namespace base { | 15 namespace base { |
16 class DictionaryValue; | 16 class DictionaryValue; |
(...skipping 24 matching lines...) Expand all Loading... |
41 }; | 41 }; |
42 typedef base::MRUCacheBase<std::string, Payload, CacheDeletor> Cache; | 42 typedef base::MRUCacheBase<std::string, Payload, CacheDeletor> Cache; |
43 | 43 |
44 Cache cache_; | 44 Cache cache_; |
45 | 45 |
46 DISALLOW_COPY_AND_ASSIGN(WebstoreCache); | 46 DISALLOW_COPY_AND_ASSIGN(WebstoreCache); |
47 }; | 47 }; |
48 | 48 |
49 } // namespace app_list | 49 } // namespace app_list |
50 | 50 |
51 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_CACHE_H_ | 51 #endif // CHROME_BROWSER_UI_APP_LIST_SEARCH_WEBSTORE_WEBSTORE_CACHE_H_ |
OLD | NEW |