1 // Copyright (c) 2012 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.
5 #include "android_webview/native/aw_browser_dependency_factory.h"
7 #include "base/logging.h"
9 namespace android_webview
{
13 AwBrowserDependencyFactory
* g_instance
= NULL
;
17 AwBrowserDependencyFactory::AwBrowserDependencyFactory() {}
19 AwBrowserDependencyFactory::~AwBrowserDependencyFactory() {}
22 void AwBrowserDependencyFactory::SetInstance(
23 AwBrowserDependencyFactory
* delegate
) {
24 g_instance
= delegate
;
28 AwBrowserDependencyFactory
* AwBrowserDependencyFactory::GetInstance() {
29 DCHECK(g_instance
); // Must always be confirgured on startup.
33 } // namespace android_webview