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

Side by Side Diff: chrome/browser/chromeos/cros/mock_screen_lock_library.h

Issue 8934019: chromeos: Remove ScreenLockLibrary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_MOCK_SCREEN_LOCK_LIBRARY_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_MOCK_SCREEN_LOCK_LIBRARY_H_
7 #pragma once
8
9 #include "chrome/browser/chromeos/cros/screen_lock_library.h"
10 #include "testing/gmock/include/gmock/gmock.h"
11
12 namespace chromeos {
13
14 class MockScreenLockLibrary : public ScreenLockLibrary {
15 public:
16 MockScreenLockLibrary();
17 virtual ~MockScreenLockLibrary();
18
19 MOCK_METHOD0(Init, void());
20
21 MOCK_METHOD1(AddObserver, void(Observer*));
22 MOCK_METHOD1(RemoveObserver, void(Observer*));
23
24 MOCK_METHOD0(NotifyScreenLockRequested, void());
25 MOCK_METHOD0(NotifyScreenLockCompleted, void());
26 MOCK_METHOD0(NotifyScreenUnlockRequested, void());
27 MOCK_METHOD0(NotifyScreenUnlockCompleted, void());
28 };
29
30 } // namespace chromeos
31
32 #endif // CHROME_BROWSER_CHROMEOS_CROS_MOCK_SCREEN_LOCK_LIBRARY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/cros_mock.cc ('k') | chrome/browser/chromeos/cros/mock_screen_lock_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698