blob: cccf0ddb8908f19c260d3a42c753b6c391da7268 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_COMMON_SEARCH_MOCK_EMBEDDED_SEARCH_CLIENT_H_
#define CHROME_COMMON_SEARCH_MOCK_EMBEDDED_SEARCH_CLIENT_H_
#include "chrome/common/search.mojom.h"
#include "testing/gmock/include/gmock/gmock.h"
class MockEmbeddedSearchClient : public chrome::mojom::EmbeddedSearchClient {
public:
MockEmbeddedSearchClient();
~MockEmbeddedSearchClient();
MOCK_METHOD1(SetPageSequenceNumber, void(int));
MOCK_METHOD2(ChromeIdentityCheckResult, void(const base::string16&, bool));
MOCK_METHOD2(FocusChanged, void(OmniboxFocusState, OmniboxFocusChangeReason));
MOCK_METHOD1(HistorySyncCheckResult, void(bool));
MOCK_METHOD1(MostVisitedChanged,
void(const std::vector<InstantMostVisitedItem>&));
MOCK_METHOD1(SetInputInProgress, void(bool));
MOCK_METHOD1(ThemeChanged, void(const ThemeBackgroundInfo&));
};
#endif // CHROME_COMMON_SEARCH_MOCK_EMBEDDED_SEARCH_CLIENT_H_