Index: ios/chrome/app/startup/ios_chrome_main_delegate.h |
diff --git a/ios/chrome/app/startup/ios_chrome_main_delegate.h b/ios/chrome/app/startup/ios_chrome_main_delegate.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6455c3c82b4d6cf0488d05418fc938d55911278e |
--- /dev/null |
+++ b/ios/chrome/app/startup/ios_chrome_main_delegate.h |
@@ -0,0 +1,24 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#ifndef IOS_CHROME_APP_STARTUP_IOS_CHROME_MAIN_DELEGATE_H_ |
+#define IOS_CHROME_APP_STARTUP_IOS_CHROME_MAIN_DELEGATE_H_ |
+ |
+#include "base/macros.h" |
+#include "ios/web/public/app/web_main_delegate.h" |
+ |
+// Implementation of WebMainDelegate for Chrome on iOS. |
+class IOSChromeMainDelegate : public web::WebMainDelegate { |
+ public: |
+ IOSChromeMainDelegate(); |
+ ~IOSChromeMainDelegate() override; |
+ |
+ protected: |
+ // web::WebMainDelegate implementation: |
+ void BasicStartupComplete() override; |
+ |
+ DISALLOW_COPY_AND_ASSIGN(IOSChromeMainDelegate); |
+}; |
+ |
+#endif // IOS_CHROME_APP_STARTUP_IOS_CHROME_MAIN_DELEGATE_H_ |