Home | History | Annotate | Download | only in login
      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 CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_UPDATE_SCREEN_H_
      6 #define CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_UPDATE_SCREEN_H_
      7 #pragma once
      8 
      9 #include "chrome/browser/chromeos/login/update_screen.h"
     10 #include "chrome/browser/chromeos/login/view_screen.h"
     11 #include "testing/gmock/include/gmock/gmock.h"
     12 
     13 class MockUpdateScreen : public chromeos::UpdateScreen {
     14  public:
     15   explicit MockUpdateScreen(WizardScreenDelegate* d)
     16       : chromeos::UpdateScreen(d) {
     17   }
     18   MOCK_METHOD0(StartUpdate, void());
     19 };
     20 
     21 #endif  // CHROME_BROWSER_CHROMEOS_LOGIN_MOCK_UPDATE_SCREEN_H_
     22