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

Side by Side Diff: ios/web/web_state/ui/wk_web_view_configuration_provider.h

Issue 2432363003: [ObjC ARC] Converts parts of ios/web/webstate to ARC. (Closed)
Patch Set: rebase Created 4 years, 1 month 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_WEB_WEB_STATE_UI_WK_WEB_VIEW_CONFIGURATION_PROVIDER_H_ 5 #ifndef IOS_WEB_WEB_STATE_UI_WK_WEB_VIEW_CONFIGURATION_PROVIDER_H_
6 #define IOS_WEB_WEB_STATE_UI_WK_WEB_VIEW_CONFIGURATION_PROVIDER_H_ 6 #define IOS_WEB_WEB_STATE_UI_WK_WEB_VIEW_CONFIGURATION_PROVIDER_H_
7 7
8 #include "base/mac/scoped_nsobject.h" 8 #include "base/mac/scoped_nsobject.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/supports_user_data.h" 10 #include "base/supports_user_data.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 // Purges config and router objects if they exist. When this method is called 42 // Purges config and router objects if they exist. When this method is called
43 // config and config's process pool must not be retained by anyone (this will 43 // config and config's process pool must not be retained by anyone (this will
44 // be enforced in debug builds). 44 // be enforced in debug builds).
45 void Purge(); 45 void Purge();
46 46
47 private: 47 private:
48 explicit WKWebViewConfigurationProvider(bool is_off_the_record); 48 explicit WKWebViewConfigurationProvider(bool is_off_the_record);
49 WKWebViewConfigurationProvider() = delete; 49 WKWebViewConfigurationProvider() = delete;
50 ~WKWebViewConfigurationProvider() override; 50 ~WKWebViewConfigurationProvider() override;
51 51
52 base::scoped_nsobject<WKWebViewConfiguration> configuration_; 52 WKWebViewConfiguration* configuration_;
53 base::scoped_nsobject<CRWWKScriptMessageRouter> router_; 53 CRWWKScriptMessageRouter* router_;
54 // Result of |web::BrowserState::IsOffTheRecord| call. 54 // Result of |web::BrowserState::IsOffTheRecord| call.
55 bool is_off_the_record_; 55 bool is_off_the_record_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(WKWebViewConfigurationProvider); 57 DISALLOW_COPY_AND_ASSIGN(WKWebViewConfigurationProvider);
58 }; 58 };
59 59
60 } // namespace web 60 } // namespace web
61 61
62 #endif // IOS_WEB_WEB_STATE_UI_WK_WEB_VIEW_CONFIGURATION_PROVIDER_H_ 62 #endif // IOS_WEB_WEB_STATE_UI_WK_WEB_VIEW_CONFIGURATION_PROVIDER_H_
OLDNEW
« no previous file with comments | « ios/web/web_state/ui/wk_back_forward_list_item_holder.mm ('k') | ios/web/web_state/ui/wk_web_view_configuration_provider.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698