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

Side by Side Diff: ios/chrome/browser/ssl/ios_chrome_security_state_model_client.h

Issue 1852433005: Convert //base to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after r384946 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef IOS_CHROME_BROWSER_SSL_IOS_CHROME_SECURITY_STATE_MODEL_CLIENT_H_ 5 #ifndef IOS_CHROME_BROWSER_SSL_IOS_CHROME_SECURITY_STATE_MODEL_CLIENT_H_
6 #define IOS_CHROME_BROWSER_SSL_IOS_CHROME_SECURITY_STATE_MODEL_CLIENT_H_ 6 #define IOS_CHROME_BROWSER_SSL_IOS_CHROME_SECURITY_STATE_MODEL_CLIENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h"
9 #include "components/security_state/security_state_model.h" 10 #include "components/security_state/security_state_model.h"
10 #include "components/security_state/security_state_model_client.h" 11 #include "components/security_state/security_state_model_client.h"
11 #include "ios/web/public/web_state/web_state_user_data.h" 12 #include "ios/web/public/web_state/web_state_user_data.h"
12 13
13 namespace web { 14 namespace web {
14 class WebState; 15 class WebState;
15 } // namespace web 16 } // namespace web
16 17
17 // Uses a WebState to provide a SecurityStateModel with the 18 // Uses a WebState to provide a SecurityStateModel with the
18 // information that it needs to determine the page's security status. 19 // information that it needs to determine the page's security status.
(...skipping 17 matching lines...) Expand all
36 explicit IOSChromeSecurityStateModelClient(web::WebState* web_state); 37 explicit IOSChromeSecurityStateModelClient(web::WebState* web_state);
37 friend class web::WebStateUserData<IOSChromeSecurityStateModelClient>; 38 friend class web::WebStateUserData<IOSChromeSecurityStateModelClient>;
38 39
39 web::WebState* web_state_; 40 web::WebState* web_state_;
40 scoped_ptr<security_state::SecurityStateModel> security_state_model_; 41 scoped_ptr<security_state::SecurityStateModel> security_state_model_;
41 42
42 DISALLOW_COPY_AND_ASSIGN(IOSChromeSecurityStateModelClient); 43 DISALLOW_COPY_AND_ASSIGN(IOSChromeSecurityStateModelClient);
43 }; 44 };
44 45
45 #endif // IOS_CHROME_BROWSER_SSL_IOS_CHROME_SECURITY_STATE_MODEL_CLIENT_H_ 46 #endif // IOS_CHROME_BROWSER_SSL_IOS_CHROME_SECURITY_STATE_MODEL_CLIENT_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/memory/memory_metrics.cc ('k') | ios/web/navigation/navigation_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698