blob: 86f0356df3b21066fe3595bf73874e0639087b72 [file] [log] [blame]
// 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.
#ifndef CHROME_BROWSER_DOM_DISTILLER_DOM_DISTILLER_SERVICE_FACTORY_ANDROID_H_
#define CHROME_BROWSER_DOM_DISTILLER_DOM_DISTILLER_SERVICE_FACTORY_ANDROID_H_
#include <jni.h>
#include "base/android/scoped_java_ref.h"
namespace dom_distiller {
namespace android {
// This class should not be used except from the Java class
// DomDistillerServiceFactory.
class DomDistillerServiceFactoryAndroid {
public:
static base::android::ScopedJavaLocalRef<jobject>
GetForProfile(JNIEnv* env, jclass clazz, jobject j_profile);
static bool Register(JNIEnv* env);
};
} // namespace android
} // namespace dom_distiller
#endif // CHROME_BROWSER_DOM_DISTILLER_DOM_DISTILLER_SERVICE_FACTORY_ANDROID_H_