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

Side by Side Diff: ios/web/web_state/global_web_state_event_tracker.mm

Issue 2605913002: Fix include import in ios/web (Closed)
Patch Set: add missing #import Created 3 years, 11 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 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 #include "ios/web/web_state/global_web_state_event_tracker.h" 5 #include "ios/web/web_state/global_web_state_event_tracker.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
11 #include "ios/web/public/web_state/web_state_observer.h" 11 #include "ios/web/public/web_state/web_state_observer.h"
12 #include "ios/web/public/web_state/web_state_user_data.h" 12 #import "ios/web/public/web_state/web_state_user_data.h"
13 13
14 #if !defined(__has_feature) || !__has_feature(objc_arc) 14 #if !defined(__has_feature) || !__has_feature(objc_arc)
15 #error "This file requires ARC support." 15 #error "This file requires ARC support."
16 #endif 16 #endif
17 17
18 namespace web { 18 namespace web {
19 19
20 class WebStateEventForwarder; 20 class WebStateEventForwarder;
21 DEFINE_WEB_STATE_USER_DATA_KEY(WebStateEventForwarder); 21 DEFINE_WEB_STATE_USER_DATA_KEY(WebStateEventForwarder);
22 22
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 for (auto& observer : observer_list_) 144 for (auto& observer : observer_list_)
145 observer.PageLoaded(web_state, load_completion_status); 145 observer.PageLoaded(web_state, load_completion_status);
146 } 146 }
147 147
148 void GlobalWebStateEventTracker::WebStateDestroyed(WebState* web_state) { 148 void GlobalWebStateEventTracker::WebStateDestroyed(WebState* web_state) {
149 for (auto& observer : observer_list_) 149 for (auto& observer : observer_list_)
150 observer.WebStateDestroyed(web_state); 150 observer.WebStateDestroyed(web_state);
151 } 151 }
152 152
153 } // namespace web 153 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/web_state/error_translation_util_unittest.mm ('k') | ios/web/web_state/js/common_js_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698