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_LINK_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DISCOVERY_SUGGESTED_LINK_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_DISCOVERY_SUGGESTED_LINK_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_DISCOVERY_SUGGESTED_LINK_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 #include <vector> | 9 #include <vector> |
11 | 10 |
12 #include "base/memory/linked_ptr.h" | 11 #include "base/memory/linked_ptr.h" |
13 | 12 |
14 namespace extensions { | 13 namespace extensions { |
15 | 14 |
16 // ExtensionSuggestedLinks contains a list of scored links that the extension | 15 // ExtensionSuggestedLinks contains a list of scored links that the extension |
17 // wants to inject in the NTP's recommended pane. | 16 // wants to inject in the NTP's recommended pane. |
(...skipping 16 matching lines...) Expand all Loading... |
34 // than one with score 0.5. Use a score of 1 if no information is available on | 33 // than one with score 0.5. Use a score of 1 if no information is available on |
35 // the relative importance of the links. | 34 // the relative importance of the links. |
36 double score_; | 35 double score_; |
37 | 36 |
38 DISALLOW_COPY_AND_ASSIGN(SuggestedLink); | 37 DISALLOW_COPY_AND_ASSIGN(SuggestedLink); |
39 }; | 38 }; |
40 | 39 |
41 } // namespace extensions | 40 } // namespace extensions |
42 | 41 |
43 #endif // CHROME_BROWSER_EXTENSIONS_API_DISCOVERY_SUGGESTED_LINK_H_ | 42 #endif // CHROME_BROWSER_EXTENSIONS_API_DISCOVERY_SUGGESTED_LINK_H_ |
OLD | NEW |