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

Unified Diff: third_party/grpc/examples/objective-c/auth_sample/SelectUserViewController.h

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/grpc/examples/objective-c/auth_sample/SelectUserViewController.h
diff --git a/third_party/WebKit/Source/core/frame/NavigatorOnLine.h b/third_party/grpc/examples/objective-c/auth_sample/SelectUserViewController.h
similarity index 78%
copy from third_party/WebKit/Source/core/frame/NavigatorOnLine.h
copy to third_party/grpc/examples/objective-c/auth_sample/SelectUserViewController.h
index 7c6b209dad20cc92b9e19501e43399edafa24e9b..eb3c2cf5f04856d66b15bf839d62f06fcaf2aa95 100644
--- a/third_party/WebKit/Source/core/frame/NavigatorOnLine.h
+++ b/third_party/grpc/examples/objective-c/auth_sample/SelectUserViewController.h
@@ -1,5 +1,7 @@
/*
- * Copyright (C) 2013 Samsung Electronics. All rights reserved.
+ *
+ * Copyright 2015, Google Inc.
+ * All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -26,23 +28,15 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
*/
-#ifndef NavigatorOnLine_h
-#define NavigatorOnLine_h
-
-#include "core/page/NetworkStateNotifier.h"
-
-namespace blink {
-
-class NavigatorOnLine {
-public:
- bool onLine()
- {
- return networkStateNotifier().onLine();
- }
-};
-
-} // namespace blink
+#import <Google/SignIn.h>
+#import <UIKit/UIKit.h>
-#endif // NavigatorOnLine_h
+@interface SelectUserViewController : UIViewController <GIDSignInDelegate, GIDSignInUIDelegate>
+@property(weak, nonatomic) IBOutlet GIDSignInButton *signInButton;
+@property(weak, nonatomic) IBOutlet UIButton *signOutButton;
+@property(weak, nonatomic) IBOutlet UILabel *mainLabel;
+@property(weak, nonatomic) IBOutlet UILabel *subLabel;
+@end

Powered by Google App Engine
This is Rietveld 408576698