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

Unified Diff: components/security_interstitials/core/base_safe_browsing_error_ui.cc

Issue 2852333003: Rename SafeBrowsingErrorUI to SafeBrowsingLoudErrorUI (Closed)
Patch Set: Fix tests Created 3 years, 7 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/security_interstitials/core/base_safe_browsing_error_ui.cc
diff --git a/components/security_interstitials/core/base_safe_browsing_error_ui.cc b/components/security_interstitials/core/base_safe_browsing_error_ui.cc
new file mode 100644
index 0000000000000000000000000000000000000000..648d2e4fdfec98963b6caa7e9df4ce10354e6d65
--- /dev/null
+++ b/components/security_interstitials/core/base_safe_browsing_error_ui.cc
@@ -0,0 +1,22 @@
+// Copyright 2017 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.
+
+#include "components/security_interstitials/core/base_safe_browsing_error_ui.h"
+
+namespace security_interstitials {
+
+BaseSafeBrowsingErrorUI::BaseSafeBrowsingErrorUI(
+ const GURL& request_url,
+ const GURL& main_frame_url,
+ BaseSafeBrowsingErrorUI::SBInterstitialReason reason,
+ const BaseSafeBrowsingErrorUI::SBErrorDisplayOptions& display_options,
+ const std::string& app_locale,
+ const base::Time& time_triggered,
+ ControllerClient* controller)
+ : interstitial_reason_(std::move(reason)),
Jialiu Lin 2017/05/08 18:51:16 no need to use std::move() on interstitial_reasons
edwardjung 2017/05/08 20:43:00 Done.
+ display_options_(std::move(display_options)){};
Jialiu Lin 2017/05/08 18:51:16 request_url_, main_frame_url_, app_locale_, time_t
edwardjung 2017/05/08 20:43:00 Done.
+
+BaseSafeBrowsingErrorUI::~BaseSafeBrowsingErrorUI(){};
+
+} // security_interstitials

Powered by Google App Engine
This is Rietveld 408576698