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

Unified Diff: ios/web_view/public/criwv_delegate.h

Issue 2643773005: Upstream ios/web_view source code. (Closed)
Patch Set: Remove request tracker and fix pointer to CRIWVWebMainParts. Created 3 years, 11 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: ios/web_view/public/criwv_delegate.h
diff --git a/ios/web_view/public/criwv_delegate.h b/ios/web_view/public/criwv_delegate.h
new file mode 100644
index 0000000000000000000000000000000000000000..d4123ce240abace5868bfa8242f657e8874a8f85
--- /dev/null
+++ b/ios/web_view/public/criwv_delegate.h
@@ -0,0 +1,18 @@
+// Copyright 2014 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_WEB_VIEW_PUBLIC_CRIWV_DELEGATE_H_
+#define IOS_WEB_VIEW_PUBLIC_CRIWV_DELEGATE_H_
+
+@class NSString;
+
+// Delegate interface for the CRIWV library. Embedders can implement the
+// functions in order to customize library behavior.
+@protocol CRIWVDelegate
+
+// Returns a partial user agent of the form "ProductName/Version".
+- (NSString*)partialUserAgent;
+
+@end
+
+#endif // IOS_WEB_VIEW_PUBLIC_CRIWV_DELEGATE_H_

Powered by Google App Engine
This is Rietveld 408576698