Chromium Code Reviews| OLD | NEW |
|---|---|
| (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_ | |
| OLD | NEW |