Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Side by Side Diff: chrome/browser/ui/webui/ntp/suggestions_source.h

Issue 10438004: Hooking the discovery API to the NTP. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Added OWNERS for experimental discovery api. Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/ntp/suggestions_page_handler.cc ('k') | chrome/browser/ui/webui/ntp/suggestions_source_discovery.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698