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

Side by Side Diff: services/url_response_disk_cache/url_response_disk_cache_entry.mojom

Issue 1351693007: Add invalidation to url_response_disk_cache. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 5 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
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 // These mojom structs are declared only to get generated serialization code 5 // These mojom structs are declared only to get generated serialization code
6 // (ie. they are not used for ipc). 6 // (ie. they are not used for ipc).
7 module mojo; 7 module mojo;
8 8
9 import "mojo/public/interfaces/network/url_response.mojom"; 9 import "mojo/public/interfaces/network/url_response.mojom";
10 10
11 struct CacheKey { 11 struct CacheKey {
12 string request_origin; 12 string request_origin;
13 string url; 13 string url;
14 int64 timestamp; 14 int64 timestamp;
15 }; 15 };
16 16
17 // One entry in the service cache. 17 // One entry in the service cache.
18 struct CacheEntry { 18 struct CacheEntry {
19 URLResponse response; 19 URLResponse response;
20 string entry_directory; 20 string entry_directory;
21 string response_body_path; 21 string response_body_path;
22 int64 last_invalidation;
22 }; 23 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698