mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-11-28 00:06:09 +03:00
net: Remove dependency on mojo
This commit is contained in:
parent
c03e2aaadd
commit
7b01795f72
@ -1596,7 +1596,7 @@ component("net") {
|
|||||||
configs += [ "//build/config/compiler:optimize_max" ]
|
configs += [ "//build/config/compiler:optimize_max" ]
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_cronet_build) {
|
if (false) {
|
||||||
deps += [ "//mojo/public/cpp/bindings:default_construct_tag" ]
|
deps += [ "//mojo/public/cpp/bindings:default_construct_tag" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include "net/cookies/cookie_util.h"
|
#include "net/cookies/cookie_util.h"
|
||||||
#include "net/cookies/site_for_cookies.h"
|
#include "net/cookies/site_for_cookies.h"
|
||||||
|
|
||||||
#if !BUILDFLAG(CRONET_BUILD)
|
#if 0
|
||||||
#include "mojo/public/cpp/bindings/default_construct_tag.h"
|
#include "mojo/public/cpp/bindings/default_construct_tag.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -47,7 +47,7 @@ CookiePartitionKey::SerializedCookiePartitionKey::TopLevelSite() const {
|
|||||||
return top_level_site_;
|
return top_level_site_;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if !BUILDFLAG(CRONET_BUILD)
|
#if 0
|
||||||
CookiePartitionKey::CookiePartitionKey(mojo::DefaultConstruct::Tag) {}
|
CookiePartitionKey::CookiePartitionKey(mojo::DefaultConstruct::Tag) {}
|
||||||
#endif
|
#endif
|
||||||
bool CookiePartitionKey::SerializedCookiePartitionKey::has_cross_site_ancestor()
|
bool CookiePartitionKey::SerializedCookiePartitionKey::has_cross_site_ancestor()
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#include "net/cookies/site_for_cookies.h"
|
#include "net/cookies/site_for_cookies.h"
|
||||||
#include "url/gurl.h"
|
#include "url/gurl.h"
|
||||||
|
|
||||||
#if !BUILDFLAG(CRONET_BUILD)
|
#if 0
|
||||||
#include "mojo/public/cpp/bindings/default_construct_tag.h"
|
#include "mojo/public/cpp/bindings/default_construct_tag.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ class NET_EXPORT CookiePartitionKey {
|
|||||||
static AncestorChainBit BoolToAncestorChainBit(bool val);
|
static AncestorChainBit BoolToAncestorChainBit(bool val);
|
||||||
|
|
||||||
CookiePartitionKey() = delete;
|
CookiePartitionKey() = delete;
|
||||||
#if !BUILDFLAG(CRONET_BUILD)
|
#if 0
|
||||||
explicit CookiePartitionKey(mojo::DefaultConstruct::Tag);
|
explicit CookiePartitionKey(mojo::DefaultConstruct::Tag);
|
||||||
#endif
|
#endif
|
||||||
CookiePartitionKey(const CookiePartitionKey& other);
|
CookiePartitionKey(const CookiePartitionKey& other);
|
||||||
|
Loading…
Reference in New Issue
Block a user