| Index: components/precache/core/interesting_urls_provider.h
|
| diff --git a/components/precache/core/interesting_urls_provider.h b/components/precache/core/interesting_urls_provider.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..19d8fb8c741a5ead19e2480bcf91d35ce16e5122
|
| --- /dev/null
|
| +++ b/components/precache/core/interesting_urls_provider.h
|
| @@ -0,0 +1,27 @@
|
| +// Copyright 2013 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef COMPONENTS_PRECACHE_CORE_INTERESTING_URLS_PROVIDER_H_
|
| +#define COMPONENTS_PRECACHE_CORE_INTERESTING_URLS_PROVIDER_H_
|
| +
|
| +#include <list>
|
| +
|
| +#include "base/callback.h"
|
| +#include "url/gurl.h"
|
| +
|
| +namespace precache {
|
| +
|
| +// Interface for classes that can provide a list of URLs that are likely to be
|
| +// relevant to the user.
|
| +class InterestingURLsProvider {
|
| + public:
|
| + // Runs |callback| with a list of URLs that are likely to be relvant to the
|
| + // user.
|
| + virtual void GetInterestingURLs(
|
| + const base::Callback<void(const std::list<GURL>&)>& callback) = 0;
|
| +};
|
| +
|
| +} // namespace precache
|
| +
|
| +#endif // COMPONENTS_PRECACHE_CORE_INTERESTING_URLS_PROVIDER_H_
|
|
|