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

Side by Side Diff: content/public/test/test_navigation_observer.h

Issue 2314833002: Remove some uses of stl_util's STLDeleteContainerPointers. (Closed)
Patch Set: cleanup Created 4 years, 3 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_
6 #define CONTENT_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_ 6 #define CONTENT_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <set> 9 #include <set>
10 10
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // True if the last navigation succeeded. 90 // True if the last navigation succeeded.
91 bool last_navigation_succeeded_; 91 bool last_navigation_succeeded_;
92 92
93 // The MessageLoopRunner used to spin the message loop. 93 // The MessageLoopRunner used to spin the message loop.
94 scoped_refptr<MessageLoopRunner> message_loop_runner_; 94 scoped_refptr<MessageLoopRunner> message_loop_runner_;
95 95
96 // Callback invoked on WebContents creation. 96 // Callback invoked on WebContents creation.
97 base::Callback<void(WebContents*)> web_contents_created_callback_; 97 base::Callback<void(WebContents*)> web_contents_created_callback_;
98 98
99 // Living TestWebContentsObservers created by this observer. 99 // Living TestWebContentsObservers created by this observer.
100 std::set<TestWebContentsObserver*> web_contents_observers_; 100 std::set<std::unique_ptr<TestWebContentsObserver>> web_contents_observers_;
101 101
102 DISALLOW_COPY_AND_ASSIGN(TestNavigationObserver); 102 DISALLOW_COPY_AND_ASSIGN(TestNavigationObserver);
103 }; 103 };
104 104
105 } // namespace content 105 } // namespace content
106 106
107 #endif // CONTENT_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_ 107 #endif // CONTENT_PUBLIC_TEST_TEST_NAVIGATION_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/p2p/socket_dispatcher_host.cc ('k') | content/public/test/test_navigation_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698