< prev index next >

modules/javafx.web/src/main/native/Source/WebCore/platform/network/java/ResourceRequestJava.cpp

Print this page
rev 11020 : 8201563: Update copyright header for files modified in 2018
Reviewed-by:
   1 /*
   2  * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
   3  */
   4 #include "config.h"
   5 #include "ResourceRequest.h"
   6 
   7 #include <wtf/java/JavaEnv.h>
   8 
   9 namespace ResourceRequestJavaInternal {
  10 
  11 static JGClass networkContextClass;
  12 static jmethodID getMaximumHTTPConnectionCountPerHostMethod;
  13 
  14 static void initRefs(JNIEnv* env)
  15 {
  16     if (!networkContextClass) {
  17         networkContextClass = JLClass(env->FindClass(
  18                 "com/sun/webkit/network/NetworkContext"));
  19         ASSERT(networkContextClass);
  20 
  21         getMaximumHTTPConnectionCountPerHostMethod = env->GetStaticMethodID(
  22                 networkContextClass,


   1 /*
   2  * Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
   3  */
   4 #include "config.h"
   5 #include "ResourceRequest.h"
   6 
   7 #include <wtf/java/JavaEnv.h>
   8 
   9 namespace ResourceRequestJavaInternal {
  10 
  11 static JGClass networkContextClass;
  12 static jmethodID getMaximumHTTPConnectionCountPerHostMethod;
  13 
  14 static void initRefs(JNIEnv* env)
  15 {
  16     if (!networkContextClass) {
  17         networkContextClass = JLClass(env->FindClass(
  18                 "com/sun/webkit/network/NetworkContext"));
  19         ASSERT(networkContextClass);
  20 
  21         getMaximumHTTPConnectionCountPerHostMethod = env->GetStaticMethodID(
  22                 networkContextClass,


< prev index next >