1// Copyright 2014 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#include "components/gcm_driver/fake_gcm_driver.h" 6 7namespace gcm { 8 9FakeGCMDriver::FakeGCMDriver() { 10} 11 12FakeGCMDriver::~FakeGCMDriver() { 13} 14 15void FakeGCMDriver::Shutdown() { 16} 17 18void FakeGCMDriver::AddAppHandler( 19 const std::string& app_id, GCMAppHandler* handler) { 20} 21 22void FakeGCMDriver::RemoveAppHandler(const std::string& app_id) { 23} 24 25void FakeGCMDriver::OnSignedIn() { 26} 27 28void FakeGCMDriver::OnSignedOut() { 29} 30 31void FakeGCMDriver::Purge() { 32} 33 34void FakeGCMDriver::AddConnectionObserver(GCMConnectionObserver* observer) { 35} 36 37void FakeGCMDriver::RemoveConnectionObserver(GCMConnectionObserver* observer) { 38} 39 40void FakeGCMDriver::Enable() { 41} 42 43void FakeGCMDriver::Disable() { 44} 45 46GCMClient* FakeGCMDriver::GetGCMClientForTesting() const { 47 return NULL; 48} 49 50bool FakeGCMDriver::IsStarted() const { 51 return true; 52} 53 54bool FakeGCMDriver::IsConnected() const { 55 return true; 56} 57 58void FakeGCMDriver::GetGCMStatistics(const GetGCMStatisticsCallback& callback, 59 bool clear_logs) { 60} 61 62void FakeGCMDriver::SetGCMRecording(const GetGCMStatisticsCallback& callback, 63 bool recording) { 64} 65 66GCMClient::Result FakeGCMDriver::EnsureStarted() { 67 return GCMClient::SUCCESS; 68} 69 70void FakeGCMDriver::RegisterImpl(const std::string& app_id, 71 const std::vector<std::string>& sender_ids) { 72} 73 74void FakeGCMDriver::UnregisterImpl(const std::string& app_id) { 75} 76 77void FakeGCMDriver::SendImpl(const std::string& app_id, 78 const std::string& receiver_id, 79 const GCMClient::OutgoingMessage& message) { 80} 81 82void FakeGCMDriver::UpdateAccountMapping( 83 const AccountMapping& account_mapping) { 84} 85 86void FakeGCMDriver::RemoveAccountMapping(const std::string& account_id) { 87} 88 89} // namespace gcm 90