OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "components/security_interstitials/core/base_safe_browsing_error_ui.h" | |
6 | |
7 namespace security_interstitials { | |
8 | |
9 BaseSafeBrowsingErrorUI::BaseSafeBrowsingErrorUI( | |
10 const GURL& request_url, | |
11 const GURL& main_frame_url, | |
12 BaseSafeBrowsingErrorUI::SBInterstitialReason reason, | |
13 const BaseSafeBrowsingErrorUI::SBErrorDisplayOptions& display_options, | |
14 const std::string& app_locale, | |
15 const base::Time& time_triggered, | |
16 ControllerClient* controller) | |
17 : 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.
| |
18 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.
| |
19 | |
20 BaseSafeBrowsingErrorUI::~BaseSafeBrowsingErrorUI(){}; | |
21 | |
22 } // security_interstitials | |
OLD | NEW |