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

Unified Diff: ios/web/public/web_state/url_verification_constants.h

Issue 986743003: Upstream (most of) ios/web/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix namespace comment Created 5 years, 9 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/public/web_state/url_verification_constants.h
diff --git a/ios/web/public/web_state/url_verification_constants.h b/ios/web/public/web_state/url_verification_constants.h
new file mode 100644
index 0000000000000000000000000000000000000000..f973d56048b65b5fbf078e5e5e3cc3156dbdcafe
--- /dev/null
+++ b/ios/web/public/web_state/url_verification_constants.h
@@ -0,0 +1,20 @@
+// Copyright 2012 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_PUBLIC_WEB_STATE_URL_VERIFICATION_CONSTANTS_H_
+#define IOS_WEB_PUBLIC_WEB_STATE_URL_VERIFICATION_CONSTANTS_H_
+
+namespace web {
+enum URLVerificationTrustLevel {
+ // The returned URL cannot be trusted.
+ kNone,
+ // The returned URL can be displayed to the user, but the DOM of the
+ // UIWebView doesn't match yet.
+ kMixed,
+ // The returned URL can be trusted.
+ kAbsolute,
+};
+} // namespace web
+
+#endif // IOS_WEB_PUBLIC_WEB_STATE_URL_VERIFICATION_CONSTANTS_H_
« no previous file with comments | « ios/web/public/web_state/js/crw_js_injection_evaluator.h ('k') | ios/web/public/web_state/web_state_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698