root/chrome/browser/extensions/webstore_inline_installer_factory.cc

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

DEFINITIONS

This source file includes following definitions.
  1. CreateInstaller

// Copyright 2013 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 "base/memory/scoped_ptr.h"
#include "chrome/browser/extensions/webstore_inline_installer.h"
#include "chrome/browser/extensions/webstore_inline_installer_factory.h"
#include "content/public/browser/web_contents.h"

namespace extensions {

WebstoreInlineInstaller* WebstoreInlineInstallerFactory::CreateInstaller(
      content::WebContents* contents,
      const std::string& webstore_item_id,
      const GURL& requestor_url,
      const WebstoreStandaloneInstaller::Callback& callback) {
  return new WebstoreInlineInstaller(
      contents, webstore_item_id, requestor_url, callback);
}

}  // namespace extensions

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