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

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

Issue 2473003002: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Another missing forward declaration Created 4 years, 1 month 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
« no previous file with comments | « content/public/renderer/renderer_ppapi_host.h ('k') | content/public/test/layouttest_support.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_TEST_JAVASCRIPT_TEST_OBSERVER_H_ 5 #ifndef CONTENT_PUBLIC_TEST_JAVASCRIPT_TEST_OBSERVER_H_
6 #define CONTENT_PUBLIC_TEST_JAVASCRIPT_TEST_OBSERVER_H_ 6 #define CONTENT_PUBLIC_TEST_JAVASCRIPT_TEST_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "content/public/browser/notification_observer.h" 12 #include "content/public/browser/notification_observer.h"
13 #include "content/public/browser/notification_registrar.h" 13 #include "content/public/browser/notification_registrar.h"
14 14
15 namespace base {
16 class DictionaryValue;
17 }
18
19 namespace content { 15 namespace content {
20 class WebContents; 16 class WebContents;
21 17
22 // Base class for handling a stream of automation messages produced by a 18 // Base class for handling a stream of automation messages produced by a
23 // JavascriptTestObserver. 19 // JavascriptTestObserver.
24 class TestMessageHandler { 20 class TestMessageHandler {
25 public: 21 public:
26 enum MessageResponse { 22 enum MessageResponse {
27 // Reset the timeout and keep running. 23 // Reset the timeout and keep running.
28 CONTINUE, 24 CONTINUE,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 bool running_; 85 bool running_;
90 bool finished_; 86 bool finished_;
91 NotificationRegistrar registrar_; 87 NotificationRegistrar registrar_;
92 88
93 DISALLOW_COPY_AND_ASSIGN(JavascriptTestObserver); 89 DISALLOW_COPY_AND_ASSIGN(JavascriptTestObserver);
94 }; 90 };
95 91
96 } // namespace content 92 } // namespace content
97 93
98 #endif // CONTENT_PUBLIC_TEST_JAVASCRIPT_TEST_OBSERVER_H_ 94 #endif // CONTENT_PUBLIC_TEST_JAVASCRIPT_TEST_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/public/renderer/renderer_ppapi_host.h ('k') | content/public/test/layouttest_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698