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

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

Issue 2762673002: predictors: Pass manifests from Bork to store in ResourcePrefetchPredictor. (Closed)
Patch Set: Rebase. Created 3 years, 9 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 2017 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_PRECACHE_MANIFEST_DELEGATE_H_
6 #define COMPONENTS_PRECACHE_CORE_PRECACHE_MANIFEST_DELEGATE_H_
7
8 #include <string>
9
10 #include "components/precache/core/proto/precache.pb.h"
11
12 namespace precache {
13
14 // Delegate to inform the manifest events.
15 class PrecacheManifestDelegate {
Benoit L 2017/03/20 16:51:53 Seems to me that this is conceptually more a Preca
alexilin 2017/03/21 09:50:35 Done.
16 public:
17 // Called when a new manifest is successfully fetched and parsed.
18 virtual void OnManifestFetched(const std::string& host,
19 const PrecacheManifest& manifest) = 0;
20 };
21
22 } // namespace precache
23
24 #endif // COMPONENTS_PRECACHE_CORE_PRECACHE_MANIFEST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698