Home | History | Annotate | Download | only in login
      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_UI_WEBUI_CHROMEOS_LOGIN_MOCK_LOGIN_UI_HANDLER_H_
      6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_MOCK_LOGIN_UI_HANDLER_H_
      7 #pragma once
      8 
      9 #include <string>
     10 
     11 #include "chrome/browser/ui/webui/chromeos/login/login_ui.h"
     12 #include "chrome/browser/ui/webui/chromeos/login/login_ui_helpers.h"
     13 #include "testing/gmock/include/gmock/gmock.h"
     14 
     15 namespace chromeos {
     16 
     17 class MockLoginUIHandler : public chromeos::LoginUIHandler {
     18  public:
     19   MOCK_METHOD1(Attach,
     20       WebUIMessageHandler*(WebUI* web_ui));
     21   MOCK_METHOD0(RegisterMessages,
     22       void());
     23 };
     24 
     25 }  // namespace chromeos
     26 
     27 #endif  // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_MOCK_LOGIN_UI_HANDLER_H_
     28