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

Side by Side Diff: content/common/image_downloader/image_downloader_types.mojom

Issue 1085783002: Replace image_messages.h with Mojo service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 2015 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 module image_downloader;
6
7 import "third_party/mojo_services/src/geometry/public/interfaces/geometry.mojom" ;
8 import "skia/public/interfaces/bitmap.mojom";
9
10 struct DownloadReq {
Ken Rockot(use gerrit already) 2015/04/14 16:14:20 nit: I think we shouldn't abbreviate this. Downloa
Anand Mistry (off Chromium) 2015/04/16 01:07:16 I too think these should live in image_downloader.
leonhsl(Using Gerrit) 2015/04/17 06:14:34 Done. Combine image_downloader_types.mojom into i
11 string url;
12 bool is_favicon;
13 uint32 max_bitmap_size;
14 bool bypass_cache;
15 };
16
17 struct DownloadResult {
18 int32 http_status_code;
Anand Mistry (off Chromium) 2015/04/16 01:07:16 uint32. HTTP status codes are defined to be 3-digi
leonhsl(Using Gerrit) 2015/04/17 06:14:34 The old IPC message ImageHostMsg_DidDownloadImage
19 string url;
Anand Mistry (off Chromium) 2015/04/16 01:07:16 Why is this needed? As far as I can tell, it never
leonhsl(Using Gerrit) 2015/04/17 06:14:34 Done. Yes we can omit it from response.
20 array<skia.Bitmap> images;
21 array<mojo.Size> original_image_sizes;
22 };
23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698