chromium/extensions/components/javascript_dialog_extensions_client/javascript_dialog_extension_client_impl.cc

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

#include "extensions/components/javascript_dialog_extensions_client/javascript_dialog_extension_client_impl.h"

#include <memory>

#include "components/javascript_dialogs/app_modal_dialog_manager.h"
#include "components/javascript_dialogs/extensions_client.h"
#include "content/public/browser/web_contents.h"
#include "extensions/browser/process_manager.h"
#include "extensions/common/extension.h"
#include "ui/gfx/native_widget_types.h"

namespace javascript_dialog_extensions_client {
namespace {

Extension;

// Returns the ProcessManager for the browser context from |web_contents|.
extensions::ProcessManager* GetProcessManager(
    content::WebContents* web_contents) {}

// Returns the extension associated with |web_contents| or NULL if there is no
// associated extension (or extensions are not supported).
const Extension* GetExtensionForWebContents(
    content::WebContents* web_contents) {}

class JavaScriptDialogExtensionsClientImpl
    : public javascript_dialogs::ExtensionsClient {};

}  // namespace

void InstallClient() {}

}  // namespace javascript_dialog_extensions_client