aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/utils
diff options
context:
space:
mode:
authorGravatar bungeman <bungeman@google.com>2015-06-29 14:12:41 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-06-29 14:12:41 -0700
commit3fdde4e129f43b9d2f0c31a791ebe17ff06e4612 (patch)
tree1793e44158e81c69335a1ebeca86b9762c7f21f8 /include/utils
parent09b2c932d8fc6f0e1e8ab82c63df8c76f2b63a75 (diff)
Remove old iOS porting files.
These files do not appear to be used, are unfinished, and should be redundant with the mac porting files. Review URL: https://codereview.chromium.org/1197963003
Diffstat (limited to 'include/utils')
-rw-r--r--include/utils/ios/SkStream_NSData.h41
1 files changed, 0 insertions, 41 deletions
diff --git a/include/utils/ios/SkStream_NSData.h b/include/utils/ios/SkStream_NSData.h
deleted file mode 100644
index 8e6f06452d..0000000000
--- a/include/utils/ios/SkStream_NSData.h
+++ /dev/null
@@ -1,41 +0,0 @@
-
-/*
- * Copyright 2011 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-#ifndef SkStream_NSData_DEFINED
-#define SkStream_NSData_DEFINED
-
-#import <UIKit/UIKit.h>
-#include "SkStream.h"
-
-/** Returns an NSData with a copy of the stream's data. The caller must call
- retain if it intends to keep the data object beyond the current stack-frame
- (i.e. internally we're calling [NSData dataWithBytes...]
- */
-NSData* NSData_dataWithStream(SkStream* stream);
-
-/** Returns an NSData from the named resource (from main bundle).
- The caller must call retain if it intends to keep the data object beyond
- the current stack-frame
- (i.e. internally we're calling [NSData dataWithContentsOfMappedFile...]
- */
-NSData* NSData_dataFromResource(const char name[], const char suffix[]);
-
-/** Wrap a stream around NSData.
- */
-class SkStream_NSData : public SkMemoryStream {
-public:
- SkStream_NSData(NSData* data);
- virtual ~SkStream_NSData();
-
- static SkStream_NSData* CreateFromResource(const char name[],
- const char suffix[]);
-
-private:
- NSData* fNSData;
-};
-
-#endif