Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2013 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 SYNC_SESSIONS_MOCK_DEBUG_INFO_GETTER_H_ | |
| 6 #define SYNC_SESSIONS_MOCK_DEBUG_INFO_GETTER_H_ | |
| 7 | |
| 8 #include "base/compiler_specific.h" | |
| 9 #include "sync/base/sync_export.h" | |
| 10 #include "sync/protocol/sync.pb.h" | |
| 11 #include "sync/sessions/debug_info_getter.h" | |
| 12 | |
| 13 namespace syncer { | |
| 14 namespace sessions { | |
| 15 | |
| 16 class SYNC_EXPORT_PRIVATE MockDebugInfoGetter | |
|
Nicolas Zea
2013/11/19 23:43:04
nit: Brief comment about what the class is.
maniscalco
2013/11/20 01:03:32
Done.
| |
| 17 : public sessions::DebugInfoGetter { | |
| 18 public: | |
| 19 MockDebugInfoGetter(); | |
| 20 virtual ~MockDebugInfoGetter(); | |
| 21 virtual void GetDebugInfo(sync_pb::DebugInfo* debug_info) OVERRIDE; | |
|
Nicolas Zea
2013/11/19 23:43:04
nit: typically we'll comment "DebugInfoGetter impl
maniscalco
2013/11/20 01:03:32
Done.
| |
| 22 virtual void ClearDebugInfo() OVERRIDE; | |
| 23 | |
| 24 void AddDebugEvent(); | |
| 25 | |
| 26 private: | |
| 27 sync_pb::DebugInfo debug_info_; | |
|
Nicolas Zea
2013/11/19 23:43:04
nit: DISALLOW_COPY_AND_ASSIGN(MockDebugInfoGetter)
maniscalco
2013/11/20 01:03:32
Done.
| |
| 28 }; | |
| 29 | |
| 30 } // namespace sessions | |
| 31 } // namespace syncer | |
| 32 | |
| 33 #endif // SYNC_SESSIONS_MOCK_DEBUG_INFO_GETTER_H_ | |
| OLD | NEW |