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

Unified Diff: components/supervised_user_error_page/supervised_user_error_page.h

Issue 1890203002: Implement Web Restrictions in WebView. (Closed) 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: components/supervised_user_error_page/supervised_user_error_page.h
diff --git a/components/supervised_user_error_page/supervised_user_error_page.h b/components/supervised_user_error_page/supervised_user_error_page.h
index 1254b095b8086b3139018d1748e6bd0578c8a4d8..dc38c70e2bf40c95ddde08f7cd42f6d1892e1176 100644
--- a/components/supervised_user_error_page/supervised_user_error_page.h
+++ b/components/supervised_user_error_page/supervised_user_error_page.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/strings/string16.h"
+#include "components/web_restrictions/interfaces/web_restrictions.mojom.h"
namespace supervised_user_error_page {
@@ -24,13 +25,17 @@ int GetBlockMessageID(
bool is_child_account,
bool single_parent);
+std::string BuildHtmlFromWebRestrictionsResult(
+ const web_restrictions::mojom::ClientResultPtr& result,
+ const std::string app_locale);
+
std::string BuildHtml(bool allow_access_requests,
const std::string& profile_image_url,
const std::string& profile_image_url2,
- const base::string16& custodian,
- const base::string16& custodian_email,
- const base::string16& second_custodian,
- const base::string16& second_custodian_email,
+ const std::string& custodian,
+ const std::string& custodian_email,
+ const std::string& second_custodian,
+ const std::string& second_custodian_email,
bool is_child_account,
FilteringBehaviorReason reason,
const std::string& app_locale);

Powered by Google App Engine
This is Rietveld 408576698