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

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

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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>
8
9 #include "base/macros.h"
7 #include "base/memory/singleton.h" 10 #include "base/memory/singleton.h"
8 #include "ios/web/public/web_state/web_state_observer.h" 11 #include "ios/web/public/web_state/web_state_observer.h"
9 #include "ios/web/public/web_state/web_state_user_data.h" 12 #include "ios/web/public/web_state/web_state_user_data.h"
10 13
11 namespace web { 14 namespace web {
12 15
13 class WebStateEventForwarder; 16 class WebStateEventForwarder;
14 DEFINE_WEB_STATE_USER_DATA_KEY(WebStateEventForwarder); 17 DEFINE_WEB_STATE_USER_DATA_KEY(WebStateEventForwarder);
15 18
16 // Helper class that forwards events from a single associated WebState instance 19 // Helper class that forwards events from a single associated WebState instance
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 FOR_EACH_OBSERVER(GlobalWebStateObserver, observer_list_, 140 FOR_EACH_OBSERVER(GlobalWebStateObserver, observer_list_,
138 PageLoaded(web_state, load_completion_status)); 141 PageLoaded(web_state, load_completion_status));
139 } 142 }
140 143
141 void GlobalWebStateEventTracker::WebStateDestroyed(WebState* web_state) { 144 void GlobalWebStateEventTracker::WebStateDestroyed(WebState* web_state) {
142 FOR_EACH_OBSERVER(GlobalWebStateObserver, observer_list_, 145 FOR_EACH_OBSERVER(GlobalWebStateObserver, observer_list_,
143 WebStateDestroyed(web_state)); 146 WebStateDestroyed(web_state));
144 } 147 }
145 148
146 } // namespace web 149 } // namespace web
OLDNEW
« no previous file with comments | « ios/web/web_state/global_web_state_event_tracker.h ('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