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

Side by Side Diff: components/ntp_snippets/ntp_snippets_service.h

Issue 2102023002: Add ContentSuggestionsService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add explicit cast from ContentSuggestionsCategory to int Created 4 years, 5 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
« no previous file with comments | « components/ntp_snippets/ntp_snippet.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_NTP_SNIPPETS_NTP_SNIPPETS_SERVICE_H_ 5 #ifndef COMPONENTS_NTP_SNIPPETS_NTP_SNIPPETS_SERVICE_H_
6 #define COMPONENTS_NTP_SNIPPETS_NTP_SNIPPETS_SERVICE_H_ 6 #define COMPONENTS_NTP_SNIPPETS_NTP_SNIPPETS_SERVICE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
11 #include <set> 11 #include <set>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/callback_forward.h"
15 #include "base/gtest_prod_util.h" 16 #include "base/gtest_prod_util.h"
16 #include "base/macros.h" 17 #include "base/macros.h"
17 #include "base/observer_list.h" 18 #include "base/observer_list.h"
18 #include "base/timer/timer.h" 19 #include "base/timer/timer.h"
19 #include "components/image_fetcher/image_fetcher_delegate.h" 20 #include "components/image_fetcher/image_fetcher_delegate.h"
20 #include "components/keyed_service/core/keyed_service.h" 21 #include "components/keyed_service/core/keyed_service.h"
21 #include "components/ntp_snippets/ntp_snippet.h" 22 #include "components/ntp_snippets/ntp_snippet.h"
22 #include "components/ntp_snippets/ntp_snippets_fetcher.h" 23 #include "components/ntp_snippets/ntp_snippets_fetcher.h"
23 #include "components/ntp_snippets/ntp_snippets_scheduler.h" 24 #include "components/ntp_snippets/ntp_snippets_scheduler.h"
24 #include "components/ntp_snippets/ntp_snippets_status_service.h" 25 #include "components/ntp_snippets/ntp_snippets_status_service.h"
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 // If the service might be enabled, DisabledReason::NONE will be provided. 318 // If the service might be enabled, DisabledReason::NONE will be provided.
318 virtual void NTPSnippetsServiceDisabledReasonChanged(DisabledReason) = 0; 319 virtual void NTPSnippetsServiceDisabledReasonChanged(DisabledReason) = 0;
319 320
320 protected: 321 protected:
321 virtual ~NTPSnippetsServiceObserver() {} 322 virtual ~NTPSnippetsServiceObserver() {}
322 }; 323 };
323 324
324 } // namespace ntp_snippets 325 } // namespace ntp_snippets
325 326
326 #endif // COMPONENTS_NTP_SNIPPETS_NTP_SNIPPETS_SERVICE_H_ 327 #endif // COMPONENTS_NTP_SNIPPETS_NTP_SNIPPETS_SERVICE_H_
OLDNEW
« no previous file with comments | « components/ntp_snippets/ntp_snippet.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698