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

Side by Side Diff: content/test/web_contents_observer_sanity_checker.h

Issue 2383573002: [DO NOT COMMIT] Remove chrome::NOTIFICATION_RETARGETING
Patch Set: Rebase on ToT Created 4 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ 5 #ifndef CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_
6 #define CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ 6 #define CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 void EnsureStableParentValue(RenderFrameHost* render_frame_host); 101 void EnsureStableParentValue(RenderFrameHost* render_frame_host);
102 bool HasAnyChildren(RenderFrameHost* render_frame_host); 102 bool HasAnyChildren(RenderFrameHost* render_frame_host);
103 103
104 std::set<GlobalRoutingID> current_hosts_; 104 std::set<GlobalRoutingID> current_hosts_;
105 std::set<GlobalRoutingID> live_routes_; 105 std::set<GlobalRoutingID> live_routes_;
106 std::set<GlobalRoutingID> deleted_routes_; 106 std::set<GlobalRoutingID> deleted_routes_;
107 107
108 std::set<NavigationHandle*> ongoing_navigations_; 108 std::set<NavigationHandle*> ongoing_navigations_;
109 std::vector<MediaPlayerId> active_media_players_; 109 std::vector<MediaPlayerId> active_media_players_;
110 110
111 base::hash_map<WebContents*, std::string> created_web_contents_;
112
111 // Remembers parents to make sure RenderFrameHost::GetParent() never changes. 113 // Remembers parents to make sure RenderFrameHost::GetParent() never changes.
112 std::map<GlobalRoutingID, GlobalRoutingID> parent_ids_; 114 std::map<GlobalRoutingID, GlobalRoutingID> parent_ids_;
113 115
114 bool is_loading_; 116 bool is_loading_;
115 117
116 bool web_contents_destroyed_; 118 bool web_contents_destroyed_;
117 119
118 DISALLOW_COPY_AND_ASSIGN(WebContentsObserverSanityChecker); 120 DISALLOW_COPY_AND_ASSIGN(WebContentsObserverSanityChecker);
119 }; 121 };
120 122
121 } // namespace content 123 } // namespace content
122 124
123 #endif // CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_ 125 #endif // CONTENT_TEST_WEB_CONTENTS_OBSERVER_SANITY_CHECKER_H_
OLDNEW
« no previous file with comments | « content/renderer/render_frame_proxy.cc ('k') | content/test/web_contents_observer_sanity_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698