<commit_before>// Copyright (c) 2012 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 ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_IO_THREAD_CLIENT_IMPL_H_
#define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_IO_THREAD_CLIENT_IMPL_H_

#include "android_webview/browser/aw_contents_io_thread_client.h"

#include "base/android/scoped_java_ref.h"
#include "base/memory/scoped_ptr.h"

class InterceptedRequestData;

namespace content {
class WebContents;
}

namespace net {
class URLRequest;
}

namespace android_webview {

class AwContentsIoThreadClientImpl : public AwContentsIoThreadClient {
 public:
  // Associates the |jclient| instance (which must implement the
  // AwContentsIoThreadClient Java interface) with the |web_contents|.
  // This should be called at most once per |web_contents|.
  static void Associate(content::WebContents* web_contents,
                        const base::android::JavaRef<jobject>& jclient);

  AwContentsIoThreadClientImpl(const base::android::JavaRef<jobject>& jclient);
  ~AwContentsIoThreadClientImpl();
<commit_msg>Fix style error in AwContentsIoThreadClientImpl<commit_after>// Copyright (c) 2012 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 ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_IO_THREAD_CLIENT_IMPL_H_
#define ANDROID_WEBVIEW_NATIVE_AW_CONTENTS_IO_THREAD_CLIENT_IMPL_H_

#include "android_webview/browser/aw_contents_io_thread_client.h"

#include "base/android/scoped_java_ref.h"
#include "base/memory/scoped_ptr.h"

class InterceptedRequestData;

namespace content {
class WebContents;
}

namespace net {
class URLRequest;
}

namespace android_webview {

class AwContentsIoThreadClientImpl : public AwContentsIoThreadClient {
 public:
  // Associates the |jclient| instance (which must implement the
  // AwContentsIoThreadClient Java interface) with the |web_contents|.
  // This should be called at most once per |web_contents|.
  static void Associate(content::WebContents* web_contents,
                        const base::android::JavaRef<jobject>& jclient);

  AwContentsIoThreadClientImpl(const base::android::JavaRef<jobject>& jclient);
  virtual ~AwContentsIoThreadClientImpl() OVERRIDE;

{'fraction_non_alphanumeric': 0.07695596408721676, 'fraction_numerical': 0.003420265070542967, 'mean_word_length': 5.554621848739496, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5322777', 'n_tokens_mistral': 732, 'n_tokens_neox': 706, 'n_words': 186}