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

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

Issue 3532010: Add a pref checkbox to enable/disable screen lock for ChromeOs. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: firx chromeos trybot 2, set expectations Created 10 years, 2 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 | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/cros/cros_mock.cc » ('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 (c) 2010 The Chromium Authors. All rights reserved. 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 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 CHROME_BROWSER_CHROMEOS_CROS_CROS_MOCK_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_CROS_MOCK_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_CROS_MOCK_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_CROS_MOCK_H_
7 7
8 #include "chrome/browser/chromeos/cros/cros_library.h" 8 #include "chrome/browser/chromeos/cros/cros_library.h"
9 #include "chrome/test/in_process_browser_test.h" 9 #include "chrome/test/in_process_browser_test.h"
10 #include "cros/chromeos_input_method.h" 10 #include "cros/chromeos_input_method.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Add a call to this method in your SetUpInProcessBrowserTestFixture. 70 // Add a call to this method in your SetUpInProcessBrowserTestFixture.
71 // They are all configured with RetiresOnSaturation(). 71 // They are all configured with RetiresOnSaturation().
72 // Once such expectation is used it won't block expectations you've defined. 72 // Once such expectation is used it won't block expectations you've defined.
73 void SetStatusAreaMocksExpectations(); 73 void SetStatusAreaMocksExpectations();
74 74
75 // Methods to setup minimal mocks expectations for status area. 75 // Methods to setup minimal mocks expectations for status area.
76 void SetKeyboardLibraryStatusAreaExpectations(); 76 void SetKeyboardLibraryStatusAreaExpectations();
77 void SetInputMethodLibraryStatusAreaExpectations(); 77 void SetInputMethodLibraryStatusAreaExpectations();
78 void SetNetworkLibraryStatusAreaExpectations(); 78 void SetNetworkLibraryStatusAreaExpectations();
79 void SetPowerLibraryStatusAreaExpectations(); 79 void SetPowerLibraryStatusAreaExpectations();
80 void SetPowerLibraryExpectations();
80 void SetSpeechSynthesisLibraryExpectations(); 81 void SetSpeechSynthesisLibraryExpectations();
81 void SetSystemLibraryStatusAreaExpectations(); 82 void SetSystemLibraryStatusAreaExpectations();
82 void SetSystemLibraryExpectations(); 83 void SetSystemLibraryExpectations();
83 void SetTouchpadLibraryExpectations(); 84 void SetTouchpadLibraryExpectations();
84 85
85 void TearDownMocks(); 86 void TearDownMocks();
86 87
87 // TestApi gives access to CrosLibrary private members. 88 // TestApi gives access to CrosLibrary private members.
88 chromeos::CrosLibrary::TestApi* test_api(); 89 chromeos::CrosLibrary::TestApi* test_api();
89 90
(...skipping 10 matching lines...) Expand all
100 MockSystemLibrary* mock_system_library_; 101 MockSystemLibrary* mock_system_library_;
101 MockTouchpadLibrary* mock_touchpad_library_; 102 MockTouchpadLibrary* mock_touchpad_library_;
102 103
103 ImePropertyList ime_properties_; 104 ImePropertyList ime_properties_;
104 DISALLOW_COPY_AND_ASSIGN(CrosMock); 105 DISALLOW_COPY_AND_ASSIGN(CrosMock);
105 }; 106 };
106 107
107 } // namespace chromeos 108 } // namespace chromeos
108 109
109 #endif // CHROME_BROWSER_CHROMEOS_CROS_CROS_MOCK_H_ 110 #endif // CHROME_BROWSER_CHROMEOS_CROS_CROS_MOCK_H_
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/chromeos/cros/cros_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698