| OLD | NEW |
| 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_VIEW_COUNTER_IMPL_H_ | 5 #ifndef IOS_WEB_WEB_VIEW_COUNTER_IMPL_H_ |
| 6 #define IOS_WEB_WEB_VIEW_COUNTER_IMPL_H_ | 6 #define IOS_WEB_WEB_VIEW_COUNTER_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> |
| 8 #import <WebKit/WebKit.h> | 9 #import <WebKit/WebKit.h> |
| 9 | 10 |
| 10 #include "base/macros.h" | 11 #include "base/macros.h" |
| 11 #include "base/supports_user_data.h" | 12 #include "base/supports_user_data.h" |
| 12 #include "ios/web/public/web_view_counter.h" | 13 #include "ios/web/public/web_view_counter.h" |
| 13 #import "ios/web/weak_nsobject_counter.h" | 14 #import "ios/web/weak_nsobject_counter.h" |
| 14 | 15 |
| 15 namespace web { | 16 namespace web { |
| 16 | 17 |
| 17 class WebViewCounterImpl : public WebViewCounter, | 18 class WebViewCounterImpl : public WebViewCounter, |
| (...skipping 16 matching lines...) Expand all Loading... |
| 34 private: | 35 private: |
| 35 // The WeakNSObjectCounter that counts WKWebViews. | 36 // The WeakNSObjectCounter that counts WKWebViews. |
| 36 WeakNSObjectCounter wk_web_view_counter_; | 37 WeakNSObjectCounter wk_web_view_counter_; |
| 37 | 38 |
| 38 DISALLOW_COPY_AND_ASSIGN(WebViewCounterImpl); | 39 DISALLOW_COPY_AND_ASSIGN(WebViewCounterImpl); |
| 39 }; | 40 }; |
| 40 | 41 |
| 41 } // namespace web | 42 } // namespace web |
| 42 | 43 |
| 43 #endif // IOS_WEB_WEB_VIEW_COUNTER_IMPL_H_ | 44 #endif // IOS_WEB_WEB_VIEW_COUNTER_IMPL_H_ |
| OLD | NEW |