Lines Matching full:origin
5 #include "url/origin.h"
18 base::android::ScopedJavaLocalRef<jobject> Origin::CreateJavaObject() const { in CreateJavaObject()
20 const base::UnguessableToken* token = Origin::GetNonceForSerialization(); in CreateJavaObject()
29 Origin Origin::FromJavaObject( in FromJavaObject()
32 std::unique_ptr<Origin> origin = base::WrapUnique<Origin>( in FromJavaObject() local
33 reinterpret_cast<Origin*>(Java_Origin_toNativeOrigin(env, java_origin))); in FromJavaObject()
34 return std::move(*origin); in FromJavaObject()
38 jlong Origin::CreateNative(JNIEnv* env, in CreateNative()
52 Origin::Nonce nonce; in CreateNative()
54 nonce = Origin::Nonce(nonce_token.value()); in CreateNative()
56 Origin origin = is_opaque in CreateNative() local
57 ? Origin::CreateOpaqueFromNormalizedPrecursorTuple( in CreateNative()
59 : Origin::CreateFromNormalizedTuple(scheme, host, port); in CreateNative()
60 return reinterpret_cast<intptr_t>(new Origin(origin)); in CreateNative()
65 return Origin().CreateJavaObject(); in JNI_Origin_CreateOpaque()
71 return Origin::Create(*GURLAndroid::ToNativeGURL(env, j_gurl)) in JNI_Origin_CreateFromGURL()
83 return Origin::CreateNative(env, java_scheme, java_host, port, is_opaque, in JNI_Origin_CreateNative()