| 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_UI_WEBUI_NTP_SUGGESTIONS_SOURCE_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_SOURCE_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_SOURCE_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_SOURCE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" |
| 10 |
| 9 class Profile; | 11 class Profile; |
| 10 class SuggestionsCombiner; | 12 class SuggestionsCombiner; |
| 11 | 13 |
| 12 namespace base { | 14 namespace base { |
| 13 class DictionaryValue; | 15 class DictionaryValue; |
| 14 } | 16 } |
| 15 | 17 |
| 16 // Interface for a source of suggested pages. The various sources will be | 18 // Interface for a source of suggested pages. The various sources will be |
| 17 // combined by the SuggestionsCombiner. | 19 // combined by the SuggestionsCombiner. |
| 18 class SuggestionsSource { | 20 class SuggestionsSource { |
| (...skipping 27 matching lines...) Expand all Loading... |
| 46 | 48 |
| 47 // Sets the combiner holding this suggestion source. This method can only | 49 // Sets the combiner holding this suggestion source. This method can only |
| 48 // be called once. | 50 // be called once. |
| 49 virtual void SetCombiner(SuggestionsCombiner* combiner) = 0; | 51 virtual void SetCombiner(SuggestionsCombiner* combiner) = 0; |
| 50 | 52 |
| 51 private: | 53 private: |
| 52 DISALLOW_COPY_AND_ASSIGN(SuggestionsSource); | 54 DISALLOW_COPY_AND_ASSIGN(SuggestionsSource); |
| 53 }; | 55 }; |
| 54 | 56 |
| 55 #endif // CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_SOURCE_H_ | 57 #endif // CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_SOURCE_H_ |
| OLD | NEW |