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

Side by Side Diff: chrome/browser/ui/webui/ntp/suggestions_source_top_sites.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_TOP_SITES_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_SOURCE_TOP_SITES_H_
6 #define CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_SOURCE_TOP_SITES_H_ 6 #define CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_SOURCE_TOP_SITES_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 10
11 #include "base/basictypes.h"
11 #include "chrome/browser/cancelable_request.h" 12 #include "chrome/browser/cancelable_request.h"
12 #include "chrome/browser/history/history_types.h" 13 #include "chrome/browser/history/history_types.h"
13 #include "chrome/browser/history/visit_filter.h" 14 #include "chrome/browser/history/visit_filter.h"
14 #include "chrome/browser/ui/webui/ntp/suggestions_source.h" 15 #include "chrome/browser/ui/webui/ntp/suggestions_source.h"
15 16
16 class SuggestionsCombiner; 17 class SuggestionsCombiner;
17 class Profile; 18 class Profile;
18 19
19 namespace base { 20 namespace base {
20 class DictionaryValue; 21 class DictionaryValue;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 56
56 // Keep the results of the db query here. 57 // Keep the results of the db query here.
57 std::deque<base::DictionaryValue*> items_; 58 std::deque<base::DictionaryValue*> items_;
58 59
59 CancelableRequestConsumer history_consumer_; 60 CancelableRequestConsumer history_consumer_;
60 61
61 DISALLOW_COPY_AND_ASSIGN(SuggestionsSourceTopSites); 62 DISALLOW_COPY_AND_ASSIGN(SuggestionsSourceTopSites);
62 }; 63 };
63 64
64 #endif // CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_SOURCE_TOP_SITES_H_ 65 #endif // CHROME_BROWSER_UI_WEBUI_NTP_SUGGESTIONS_SOURCE_TOP_SITES_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698