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

Unified Diff: include/utils/ios/SkStream_NSData.h

Issue 1197963003: Remove old iOS porting files. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gyp/iOSShell.gyp ('k') | src/utils/ios/SkFontHost_iOS.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/utils/ios/SkStream_NSData.h
diff --git a/include/utils/ios/SkStream_NSData.h b/include/utils/ios/SkStream_NSData.h
deleted file mode 100644
index 8e6f06452df873f3a96e83044730511bab829c5b..0000000000000000000000000000000000000000
--- 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
« no previous file with comments | « gyp/iOSShell.gyp ('k') | src/utils/ios/SkFontHost_iOS.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698