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

Side by Side Diff: jingle/notifier/base/mock_task.h

Issue 10702139: Remove #pragma once from jingle (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // A mock of talk_base::Task. 5 // A mock of talk_base::Task.
6 6
7 #ifndef JINGLE_NOTIFIER_MOCK_TASK_H_ 7 #ifndef JINGLE_NOTIFIER_MOCK_TASK_H_
8 #define JINGLE_NOTIFIER_MOCK_TASK_H_ 8 #define JINGLE_NOTIFIER_MOCK_TASK_H_
9 #pragma once
10 9
11 #include "talk/base/task.h" 10 #include "talk/base/task.h"
12 #include "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
13 12
14 namespace notifier { 13 namespace notifier {
15 14
16 class MockTask : public talk_base::Task { 15 class MockTask : public talk_base::Task {
17 public: 16 public:
18 MockTask(TaskParent* parent); 17 MockTask(TaskParent* parent);
19 18
20 virtual ~MockTask(); 19 virtual ~MockTask();
21 20
22 MOCK_METHOD0(ProcessStart, int()); 21 MOCK_METHOD0(ProcessStart, int());
23 }; 22 };
24 23
25 } // namespace notifier 24 } // namespace notifier
26 25
27 #endif // JINGLE_NOTIFIER_MOCK_TASK_H_ 26 #endif // JINGLE_NOTIFIER_MOCK_TASK_H_
OLDNEW
« no previous file with comments | « jingle/notifier/base/fake_ssl_client_socket.h ('k') | jingle/notifier/base/notification_method.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698