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 |