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

Side by Side Diff: blimp/client/test/contents/mock_blimp_contents_observer.h

Issue 2624903006: Remove all blimp client code. (Closed)
Patch Set: Update buildbot configuration Created 3 years, 11 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
OLDNEW
(Empty)
1 // Copyright 2016 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 BLIMP_CLIENT_TEST_CONTENTS_MOCK_BLIMP_CONTENTS_OBSERVER_H_
6 #define BLIMP_CLIENT_TEST_CONTENTS_MOCK_BLIMP_CONTENTS_OBSERVER_H_
7
8 #include "blimp/client/public/contents/blimp_contents_observer.h"
9 #include "testing/gmock/include/gmock/gmock.h"
10
11 namespace blimp {
12 namespace client {
13
14 class MockBlimpContentsObserver : public BlimpContentsObserver {
15 public:
16 explicit MockBlimpContentsObserver(BlimpContents* contents);
17 ~MockBlimpContentsObserver() override;
18
19 MOCK_METHOD0(OnNavigationStateChanged, void());
20 MOCK_METHOD1(OnLoadingStateChanged, void(bool loading));
21 MOCK_METHOD1(OnPageLoadingStateChanged, void(bool loading));
22 MOCK_METHOD0(OnContentsDestroyed, void());
23 };
24
25 } // namespace client
26 } // namespace blimp
27
28 #endif // BLIMP_CLIENT_TEST_CONTENTS_MOCK_BLIMP_CONTENTS_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698