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_API_DISCOVERY_SUGGESTED_LINKS_REGISTRY_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DISCOVERY_SUGGESTED_LINKS_REGISTRY_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_DISCOVERY_SUGGESTED_LINKS_REGISTRY_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_DISCOVERY_SUGGESTED_LINKS_REGISTRY_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 | 9 |
11 #include "chrome/browser/extensions/api/discovery/suggested_link.h" | 10 #include "chrome/browser/extensions/api/discovery/suggested_link.h" |
12 #include "chrome/browser/profiles/profile_keyed_service.h" | 11 #include "chrome/browser/profiles/profile_keyed_service.h" |
13 #include "content/public/browser/browser_thread.h" | 12 #include "content/public/browser/browser_thread.h" |
14 | 13 |
15 namespace extensions { | 14 namespace extensions { |
16 | 15 |
17 // This class keeps track of links suggested by an extension using the discovery | 16 // This class keeps track of links suggested by an extension using the discovery |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 // An empty list of suggestions that can be returned for non-existing | 53 // An empty list of suggestions that can be returned for non-existing |
55 // extensions. | 54 // extensions. |
56 SuggestedLinkList empty_list_; | 55 SuggestedLinkList empty_list_; |
57 | 56 |
58 DISALLOW_COPY_AND_ASSIGN(SuggestedLinksRegistry); | 57 DISALLOW_COPY_AND_ASSIGN(SuggestedLinksRegistry); |
59 }; | 58 }; |
60 | 59 |
61 } // namespace extensions | 60 } // namespace extensions |
62 | 61 |
63 #endif // CHROME_BROWSER_EXTENSIONS_API_DISCOVERY_SUGGESTED_LINKS_REGISTRY_H_ | 62 #endif // CHROME_BROWSER_EXTENSIONS_API_DISCOVERY_SUGGESTED_LINKS_REGISTRY_H_ |
OLD | NEW |