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

Side by Side Diff: content/shell/renderer/test_runner/WebTask.h

Issue 264003003: test_runner: Move everything else into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_SHELL_RENDERER_TEST_RUNNER_WEBTASK_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTASK_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTASK_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTASK_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 namespace WebTestRunner { 10 namespace content {
11 11
12 class WebTaskList; 12 class WebTaskList;
13 13
14 // WebTask represents a task which can run by WebTestDelegate::postTask() or 14 // WebTask represents a task which can run by WebTestDelegate::postTask() or
15 // WebTestDelegate::postDelayedTask(). 15 // WebTestDelegate::postDelayedTask().
16 class WebTask { 16 class WebTask {
17 public: 17 public:
18 explicit WebTask(WebTaskList*); 18 explicit WebTask(WebTaskList*);
19 virtual ~WebTask(); 19 virtual ~WebTask();
20 20
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 m_taskList->unregisterTask(this); 65 m_taskList->unregisterTask(this);
66 m_taskList = 0; 66 m_taskList = 0;
67 } 67 }
68 68
69 virtual void runIfValid() = 0; 69 virtual void runIfValid() = 0;
70 70
71 protected: 71 protected:
72 T* m_object; 72 T* m_object;
73 }; 73 };
74 74
75 } 75 } // namespace content
76 76
77 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTASK_H_ 77 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_WEBTASK_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/WebPermissions.cpp ('k') | content/shell/renderer/test_runner/WebTask.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698