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

Side by Side Diff: src/ports/SkOSFile_none.cpp

Issue 920593002: Move SkOSFile::Iter impls into ports. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Address comments. Created 5 years, 10 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
« no previous file with comments | « include/core/SkOSFile.h ('k') | src/ports/SkOSFile_posix.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright 2013 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8 #include "SkOSFile.h"
9
10 bool sk_exists(const char *path, SkFILE_Flags flags) {
11 return false;
12 }
13
14 bool sk_fidentical(SkFILE* a, SkFILE* b) {
15 return false;
16 }
17
18 int sk_fileno(SkFILE* f) {
19 return -1;
20 }
21
22 void sk_fmunmap(const void* addr, size_t length) { }
23
24 void* sk_fdmmap(int fd, size_t* size) {
25 return NULL;
26 }
27
28 void* sk_fmmap(SkFILE* f, size_t* size) {
29 return NULL;
30 }
OLDNEW
« no previous file with comments | « include/core/SkOSFile.h ('k') | src/ports/SkOSFile_posix.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698