root/chrome/browser/services/gcm/gcm_client_factory.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. BuildInstance

// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/services/gcm/gcm_client_factory.h"

#include "google_apis/gcm/gcm_client_impl.h"

namespace gcm {

scoped_ptr<GCMClient> GCMClientFactory::BuildInstance() {
  return scoped_ptr<GCMClient>(new GCMClientImpl(
      make_scoped_ptr<GCMInternalsBuilder>(new GCMInternalsBuilder())));
}

GCMClientFactory::GCMClientFactory() {
}

GCMClientFactory::~GCMClientFactory() {
}

}  // namespace gcm

/* [<][>][^][v][top][bottom][index][help] */