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

Side by Side Diff: mock_child_job.h

Issue 553016: port to use centralized constants files, and add input validation (Closed)
Patch Set: address shell injection, otehr comments (per wad) Created 10 years, 11 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
« no previous file with comments | « constants.cc ('k') | mock_system_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef LOGIN_MANAGER_MOCK_CHILD_JOB_H_
6 #define LOGIN_MANAGER_MOCK_CHILD_JOB_H_
7
8 #include "login_manager/child_job.h"
9
10 #include <gmock/gmock.h>
11
12 namespace login_manager {
13 class MockChildJob : public ChildJob {
14 public:
15 MockChildJob() { }
16 ~MockChildJob() { }
17 MOCK_METHOD0(ShouldRun, bool());
18 MOCK_METHOD0(Toggle, void());
19 MOCK_METHOD0(Run, void());
20 };
21 } // namespace login_manager
22
23 #endif // LOGIN_MANAGER_MOCK_CHILD_JOB_H_
OLDNEW
« no previous file with comments | « constants.cc ('k') | mock_system_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698