chromium/google_apis/gcm/engine/fake_connection_factory.cc

// 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.

#include "google_apis/gcm/engine/fake_connection_factory.h"

#include <memory>

#include "google_apis/gcm/engine/fake_connection_handler.h"
#include "google_apis/gcm/protocol/mcs.pb.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "net/socket/stream_socket.h"
#include "net/traffic_annotation/network_traffic_annotation_test_helper.h"

namespace gcm {

FakeConnectionFactory::FakeConnectionFactory()
    :{}

FakeConnectionFactory::~FakeConnectionFactory() {}

void FakeConnectionFactory::Initialize(
    const BuildLoginRequestCallback& request_builder,
    const ConnectionHandler::ProtoReceivedCallback& read_callback,
    const ConnectionHandler::ProtoSentCallback& write_callback) {}

ConnectionHandler* FakeConnectionFactory::GetConnectionHandler() const {}

void FakeConnectionFactory::Connect() {}

bool FakeConnectionFactory::IsEndpointReachable() const {}

std::string FakeConnectionFactory::GetConnectionStateString() const {}

base::TimeTicks FakeConnectionFactory::NextRetryAttempt() const {}

void FakeConnectionFactory::SignalConnectionReset(
    ConnectionResetReason reason) {}

void FakeConnectionFactory::SetConnectionListener(
    ConnectionListener* listener) {}

}  // namespace gcm