| OLD | NEW | 
|    1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |    1 // Copyright (c) 2012 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_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ |    5 #ifndef CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ | 
|    6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ |    6 #define CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ | 
|    7  |    7  | 
|    8 #include <map> |    8 #include <map> | 
|    9 #include <string> |    9 #include <string> | 
|   10 #include <vector> |   10 #include <vector> | 
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   74         base::EmptyString() : entry->second.policy_blob_; |   74         base::EmptyString() : entry->second.policy_blob_; | 
|   75   } |   75   } | 
|   76  |   76  | 
|   77   void set_device_local_account_policy_blob(const std::string& id, |   77   void set_device_local_account_policy_blob(const std::string& id, | 
|   78                                             const std::string& policy_blob) { |   78                                             const std::string& policy_blob) { | 
|   79     device_local_account_policy_[id].policy_blob_ = policy_blob; |   79     device_local_account_policy_[id].policy_blob_ = policy_blob; | 
|   80   } |   80   } | 
|   81  |   81  | 
|   82   // SessionManagerClient: |   82   // SessionManagerClient: | 
|   83   virtual void Init(dbus::Bus* bus) OVERRIDE; |   83   virtual void Init(dbus::Bus* bus) OVERRIDE; | 
 |   84   virtual void SetStubDelegate(SessionManagerClient::StubDelegate* delegate) | 
 |   85       OVERRIDE; | 
|   84   virtual void AddObserver(Observer* observer) OVERRIDE; |   86   virtual void AddObserver(Observer* observer) OVERRIDE; | 
|   85   virtual void RemoveObserver(Observer* observer) OVERRIDE; |   87   virtual void RemoveObserver(Observer* observer) OVERRIDE; | 
|   86   virtual bool HasObserver(Observer* observer) OVERRIDE; |   88   virtual bool HasObserver(Observer* observer) OVERRIDE; | 
|   87   virtual void EmitLoginPromptVisible() OVERRIDE; |   89   virtual void EmitLoginPromptVisible() OVERRIDE; | 
|   88   virtual void RestartJob(int pid, const std::string& command_line) OVERRIDE; |   90   virtual void RestartJob(int pid, const std::string& command_line) OVERRIDE; | 
|   89   virtual void StartSession(const std::string& user_email) OVERRIDE; |   91   virtual void StartSession(const std::string& user_email) OVERRIDE; | 
|   90   virtual void StopSession() OVERRIDE; |   92   virtual void StopSession() OVERRIDE; | 
|   91   virtual void StartDeviceWipe() OVERRIDE; |   93   virtual void StartDeviceWipe() OVERRIDE; | 
|   92   virtual void RequestLockScreen() OVERRIDE; |   94   virtual void RequestLockScreen() OVERRIDE; | 
|   93   virtual void NotifyLockScreenShown() OVERRIDE; |   95   virtual void NotifyLockScreenShown() OVERRIDE; | 
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  183  |  185  | 
|  184   chromeos::FakeDBusThreadManager* fake_dbus_thread_manager_; |  186   chromeos::FakeDBusThreadManager* fake_dbus_thread_manager_; | 
|  185  |  187  | 
|  186  private: |  188  private: | 
|  187   DISALLOW_COPY_AND_ASSIGN(DeviceSettingsTestBase); |  189   DISALLOW_COPY_AND_ASSIGN(DeviceSettingsTestBase); | 
|  188 }; |  190 }; | 
|  189  |  191  | 
|  190 }  // namespace chromeos |  192 }  // namespace chromeos | 
|  191  |  193  | 
|  192 #endif  // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ |  194 #endif  // CHROME_BROWSER_CHROMEOS_SETTINGS_DEVICE_SETTINGS_TEST_HELPER_H_ | 
| OLD | NEW |