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

Side by Side Diff: components/precache/core/interesting_urls_provider.h

Issue 27047003: Precache tracking database (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@precache
Patch Set: General fixes, added tests, and moved PrecacheManager into component Created 7 years, 2 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
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef COMPONENTS_PRECACHE_CORE_INTERESTING_URLS_PROVIDER_H_
6 #define COMPONENTS_PRECACHE_CORE_INTERESTING_URLS_PROVIDER_H_
7
8 #include <list>
9
10 #include "base/callback.h"
11 #include "url/gurl.h"
12
13 namespace precache {
14
15 // Interface for classes that can provide a list of URLs that are likely to be
16 // relevant to the user.
17 class InterestingURLsProvider {
18 public:
19 // Runs |callback| with a list of URLs that are likely to be relvant to the
20 // user.
21 virtual void GetInterestingURLs(
22 const base::Callback<void(const std::list<GURL>&)>& callback) = 0;
23 };
24
25 } // namespace precache
26
27 #endif // COMPONENTS_PRECACHE_CORE_INTERESTING_URLS_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698