// Copyright 2013 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef GOOGLE_APIS_GCM_ENGINE_FAKE_CONNECTION_HANDLER_H_ #define GOOGLE_APIS_GCM_ENGINE_FAKE_CONNECTION_HANDLER_H_ #include <list> #include "google_apis/gcm/base/mcs_message.h" #include "google_apis/gcm/engine/connection_handler.h" #include "mojo/public/cpp/system/data_pipe.h" namespace gcm { // A fake implementation of a ConnectionHandler that can arbitrarily receive // messages and verify expectations for outgoing messages. class FakeConnectionHandler : public ConnectionHandler { … }; } // namespace gcm #endif // GOOGLE_APIS_GCM_ENGINE_FAKE_CONNECTION_HANDLER_H_