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

Unified Diff: webrtc/examples/objc/AppRTCDemo/RTCSessionDescription+JSON.h

Issue 1235563006: Move talk/examples/* to webrtc/examples. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 201508051337 Created 5 years, 4 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
Index: webrtc/examples/objc/AppRTCDemo/RTCSessionDescription+JSON.h
diff --git a/webrtc/base/asyncfile.cc b/webrtc/examples/objc/AppRTCDemo/RTCSessionDescription+JSON.h
similarity index 57%
copy from webrtc/base/asyncfile.cc
copy to webrtc/examples/objc/AppRTCDemo/RTCSessionDescription+JSON.h
index ea904c554ea25a816b710e76035a1e3ec3da9257..ee323a7d94e3cb9441ad7e4abdfacec03dc5c938 100644
--- a/webrtc/base/asyncfile.cc
+++ b/webrtc/examples/objc/AppRTCDemo/RTCSessionDescription+JSON.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2010 The WebRTC Project Authors. All rights reserved.
+ * Copyright 2014 The WebRTC Project Authors. All rights reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
@@ -8,14 +8,12 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#include "webrtc/base/asyncfile.h"
+#import "RTCSessionDescription.h"
-namespace rtc {
+@interface RTCSessionDescription (JSON)
-AsyncFile::AsyncFile() {
-}
++ (RTCSessionDescription *)descriptionFromJSONDictionary:
+ (NSDictionary *)dictionary;
+- (NSData *)JSONData;
-AsyncFile::~AsyncFile() {
-}
-
-} // namespace rtc
+@end

Powered by Google App Engine
This is Rietveld 408576698