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: mojo/services/url_response_disk_cache/interfaces/url_response_disk_cache.mojom

Issue 1394303004: Move //mojo/services/X/public/... to //mojo/services/X/... (part 3). (Closed) Base URL: https://github.com/domokit/mojo.git@no_public_2-x-no_public_1
Patch Set: 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 [DartPackage="mojo_services"] 5 [DartPackage="mojo_services"]
6 module mojo; 6 module mojo;
7 7
8 import "mojo/public/interfaces/network/url_response.mojom"; 8 import "mojo/public/interfaces/network/url_response.mojom";
9 9
10 // This service allows client to efficiently cache and retrieve url response 10 // This service allows client to efficiently cache and retrieve url response
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 // Given a URLResponse that is expected to have a zipped body, updates the 52 // Given a URLResponse that is expected to have a zipped body, updates the
53 // cache and returns a pair of paths. |extracted_dir_path| is a directory 53 // cache and returns a pair of paths. |extracted_dir_path| is a directory
54 // containing the unzipped body of the response. |cache_dir_path| is a 54 // containing the unzipped body of the response. |cache_dir_path| is a
55 // directory that the applicaton can use to store content. This service 55 // directory that the applicaton can use to store content. This service
56 // guarantee that |cache_dir_path| will be emptied when |extracted_dir_path| 56 // guarantee that |cache_dir_path| will be emptied when |extracted_dir_path|
57 // content changes. 57 // content changes.
58 UpdateAndGetExtracted(mojo.URLResponse response) => 58 UpdateAndGetExtracted(mojo.URLResponse response) =>
59 (array<uint8>? extracted_dir_path, array<uint8>? cache_dir_path); 59 (array<uint8>? extracted_dir_path, array<uint8>? cache_dir_path);
60 }; 60 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698