| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
BUG=145954
Review URL: https://chromiumcodereview.appspot.com/10964014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157965 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Renames some classes to move them out of the android namespace.
* Changes singleton handling in the Java NetworkChangeNotifier. The singleton
is unfortunately still required for Android to turn the AutoDetector on.
* Adds a native-side unit test to track that the JNI calls are correctly plumbed
to alert native-side observers of connection changes.
BUG=136984
Review URL: https://chromiumcodereview.appspot.com/10928193
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157687 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CreateAsyncHostResolver is currently not used and not fully implemented, but
still compiled and linked in iOS builds.
This CL completely exclude it from the build.
BUG=145954
Review URL: https://chromiumcodereview.appspot.com/10918268
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157360 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The iOS implementation uses both NSS and system API. This CL creates
x509_certificate_nss_util to allow iOS to share code with the NSS
implementation. The iOS specific code is in x509_certificate_ios.
BUG=145954
Review URL: https://chromiumcodereview.appspot.com/10928107
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@157325 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is not completely wired yet.
BUG=147383
TEST=net_unittests
TBR=gavinp@chromium.org
Full review http://codereview.chromium.org/10909136/
Review URL: https://codereview.chromium.org/10919298
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156882 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is not completely wired yet.
BUg=147383
TEST=net_unittests
Review URL: https://chromiumcodereview.appspot.com/10909136
TBR=rvargas@google.com
Review URL: https://codereview.chromium.org/10907241
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156849 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
This is not completely wired yet.
BUg=147383
TEST=net_unittests
Review URL: https://chromiumcodereview.appspot.com/10909136
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156846 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new interface net::UploadElementReader and its implementations for bytes and file.
Rewrite UploadDataStream using UploadElementReader.
UploadElement::SetContentLength is replaced with UploadFileElementReader::ScopedOverridingContentLengthForTests.
HttpNetworkTransactionSpdy(2|3)Test.UnreadableUploadFileAfterAuthRestart is bit modified since a new FileStream is created every time when UploadDataStream is initialized.
BUG=145329
TEST=net_unittests
Review URL: https://chromiumcodereview.appspot.com/10868064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156113 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Java side tests will be using a map to convert these error codes to platform specific ones.
This generates a java file which can be used to refer to the errorcode. The included test
just does a trivial check whether the java file can be included and used.
BUG=137967
Review URL: https://chromiumcodereview.appspot.com/10912136
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155796 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On Android, some GYP client targets were explicitly depending on both the
native and Java sides of a library.
This removes the dependencies to {base,net}_java and make the native side
('base' and 'net) of these libraries depend on their Java counterpart.
On Android it rarely makes sense to depend on a single side of a Java/C++
library.
The {base,net}_java can now be considered as "private" targets although GYP
does not support this concept unfortunately (AFAICT).
Note that I made sure that the resulting APKs' size is unchanged.
Additionally, this CL removes 'base_java' (i.e. does not replace it with
'base') from the targets including 'build/apk_test.gypi'. This dependency
should not have been there (in the wrong layer) in the first place. It's needed
by ChromeNativeTestActivity.java which clients should not know about.
BUG=146323
TBR=lipalani,sky,willchan,brettw
Review URL: https://chromiumcodereview.appspot.com/10913083
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155737 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=chromium-os:33872
Review URL: https://chromiumcodereview.appspot.com/10916094
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155720 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
| |
R=eroman@chromium.org, yurys@chromium.org
BUG=73945
Review URL: https://chromiumcodereview.appspot.com/10870080
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155413 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Compilation on iOS was broken by CL https://chromiumcodereview.appspot.com/10874077.
net.gyp was trying to build files depending on v8 on iOS, which is not possible.
This CL properly excludes v8-related files from iOS builds of net.
BUG=137800
Review URL: https://chromiumcodereview.appspot.com/10919071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@155383 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
Move crypto back to the main dependencies section in net.gyp
as it now builds on iOS.
Review URL: https://chromiumcodereview.appspot.com/10905071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154932 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
get_server_time makes a request to an HTTP/HTTPS server and snarfs
the server time from the HTTP headers.
The code here will eventually be adapted to track "sane time" (see
design document linked from the bug).
Also update usage comments of URLFetcher to note that a request
context has to be set.
BUG=146090
Review URL: https://chromiumcodereview.appspot.com/10907039
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154868 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The iOS implementation is similar to the Mac implementation with the following
differences:
- the SCDynamicStore API does not exist on iOS, thus configuration changes are
only detected by polling
- several features are not supported.
BUG=145954
Review URL: https://chromiumcodereview.appspot.com/10882010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154758 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
ResetOffset(), GetContentLength() and IsInMemory() are moved from UploadData to UploadDataStream.
This is an intermediate step to make simlar change to UploadElement
BUG=72001
TEST=net_unittests
Review URL: https://chromiumcodereview.appspot.com/10878082
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154594 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
| |
Review URL: https://chromiumcodereview.appspot.com/10920026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154554 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This merges DnsConfigWatcher back into DnsConfigService and installs
DnsConfigService at NetworkChangeNotifier. It removes |detail| from
OnDNSChanged callback, and exposes NetworkChangeNotifier::GetDnsConfig.
BUG=142142
Review URL: https://chromiumcodereview.appspot.com/10873018
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154485 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This target depends on v8 as the name implies, and thus we can remove the v8
dependency from net library itself.
This will benefit views package, because views does not need anything from v8,
but since it depends on ui_base it needs things from net too.
BUG=137800
R=eroman@chromium.org
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10874077
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154434 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This class is not referenced from any code under src/, and is based on the
old WebSocket protocol that is not used anymore (hixie-76 / hybi-00 protocol).
BUG=none
Review URL: https://chromiumcodereview.appspot.com/10894004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154396 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
FTP is not supported on iOS.
This is not obvious, because net.gyp builds almost nothing on iOS currently, but we plan on keeping the ftp/ directory excluded from iOS builds.
BUG=145459
Review URL: https://chromiumcodereview.appspot.com/10880071
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154130 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Websockets and socket streams are not used on iOS, and thus are not compiled.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/10892030
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154110 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
HttpTransaction::GetUploadProgress()
Add net::UploadProgress
Change return type of GetUploadSize() from uint64 to UploadProgress.
BUG=112607
TEST=net_unittests
Review URL: https://chromiumcodereview.appspot.com/10834178
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@154063 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes it possible to create wrappers for job_factory that handle a particular job type, and forward the rest to the old job_factory.
TBR=michaeln@chromium.org, brettw@chromium.org, davemoore@chromium.org, kalman@chromium.org, benjhayden@chromium.org, jochen@chromium.org
BUG=None
Review URL: https://chromiumcodereview.appspot.com/10836248
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153241 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The iOS implementation is similar to the Mac implentation.
As iOS does not support tghe SCDynamicStore API, the notification of IP address
change is not as reliable as on the Mac (some notifications do not actually
correspond to an IP address change).
BUG=NONE
Review URL: https://chromiumcodereview.appspot.com/10829453
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152988 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a part of the ongoing refactoring of net::UploadData.
UploadData::Element is renamed to UploadElement and is moved from upload_data.cc/h to upload_element.cc/h.
BUG=None
TEST=net_unittests
TBR=kinuko@chromium.org,darin@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10827425
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152481 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
for File jobs
This is a refactor and shouldn't have any visible behavioral change.
BUG=crbug.com/142945
TEST=browser_tests --single_process --gtest_filter=FullscreenControllerTest.FullscreenFileURL
Review URL: https://chromiumcodereview.appspot.com/10700117
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152381 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding AndroidProxySelectorTests to the ContentShellTest bundle. These tests
are used to check if the proxy settings are functioning correctly.
CRBUG=136719
Review URL: https://chromiumcodereview.appspot.com/10830287
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151779 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
according to RFC3484.
Original review: http://codereview.chromium.org/10442098/
BUG=113993
TEST=./net_unittests --gtest_filter=AddressSorter*:HostResolverImplDnsTest.DnsTaskUnspec
Review URL: https://chromiumcodereview.appspot.com/10855179
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151750 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
addresses according to RFC3484.
BUG=113993
TEST=./net_unittests --gtest_filter=AddressSorter*:HostResolverImplDnsTest.DnsTaskUnspec
Review URL: https://chromiumcodereview.appspot.com/10442098
TBR=szym@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10855163
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151603 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
according to RFC3484.
BUG=113993
TEST=./net_unittests --gtest_filter=AddressSorter*:HostResolverImplDnsTest.DnsTaskUnspec
Review URL: https://chromiumcodereview.appspot.com/10442098
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151586 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These files are not used on Android but were unnecessarily compiled.
They didn't affect binary size because they were removed during linker GC,
but excluding them may save build time, and help future modular exclusion.
BUG=none
TBR=ben,kbr,brettw,jar (An Android only change to gyps)
Review URL: https://chromiumcodereview.appspot.com/10823291
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151529 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If negotiated protocol is SPDY/3 or later, well defined name of SYN_STREAM and
SYN_REPLY must be colon prefixed name.
BUG=42320
TEST=net_uinttests
Review URL: https://chromiumcodereview.appspot.com/10843050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151453 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Both java.gypi and apk_test.gypi expect the jar path in
input_jars_paths. This means that we were specifying the dependence in
both 'dependencies' and 'input_jars_paths'. This change makes it so that
we don't need that redundancy.
Also, make java.gypi use input_jars_paths in its input so that we
actually rebuild targets when we should.
BUG=136756
Review URL: https://chromiumcodereview.appspot.com/10837143
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150850 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
Adds iOS support to crypto.gyp. Both targets now build, but the tests may not
run correctly, and not all the crypto code is correct yet for iOS.
BUG=NONE
Review URL: https://chromiumcodereview.appspot.com/10830183
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150775 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
BUG=116624
TEST=none
R=mmenke@chromium.org,willchan@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10808073
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150713 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=139700
Review URL: https://chromiumcodereview.appspot.com/10807088
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150112 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
This isn't needed anymore now that CookieMonster::SetPersistSessionCookies
exists.
BUG=115372
Review URL: https://chromiumcodereview.appspot.com/10831117
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149708 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
All are stylistic changes reordering targets for better maintainability.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/10832082
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149611 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
TBR=wtc
BUG=
TEST=Swarm bots stop failing the runhooks step
Review URL: https://chromiumcodereview.appspot.com/10829089
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149093 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
cache, for full and partial page loads.
R=mmenke@chromium.org, jam@chromium.org, willchan@chromium.org, brettw@chromium.org
BUG=139210
Review URL: https://chromiumcodereview.appspot.com/10736066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149007 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
| |
This builds a small subset of net containing only the dependencies needed to build the ui target.
BUG=None
Review URL: https://chromiumcodereview.appspot.com/10834051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148954 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
| |
BUG=None
TEST=browser_tests --single_process --gtest_filter=DownloadExtensionTest.DownloadExtensionTest_Download_DataURL
Review URL: https://chromiumcodereview.appspot.com/10703089
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148927 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the default value. It can be overridden with GYP_DEFINES. It is with
the swarm master.
Also remove the corresponding XXX_run targets. These can be problematic when
developers are moving files around, especially with DEPS rolls.
This simplifies build slave management during the deployment as the .isolate
files are being rolled out.
TBR=cmp@chromium.org
NOTRY=true
BUG=139426
Review URL: https://chromiumcodereview.appspot.com/10828061
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148854 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
| |
net/base/registry_controlled_domains/ subdirectory.
This includes net/base/registry_controlled_domain.* and net/base/effective_tld_names*
BUG=138047
TEST=covered by existing tests
Review URL: https://chromiumcodereview.appspot.com/10796033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147641 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is part of Chrome for Android upstreaming.
This lets us remove the last diffs we have internally in net/base/
so that we can completely freeze this directory internally.
BUG=136749
Review URL: https://chromiumcodereview.appspot.com/10790072
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147633 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allow finer grain control over what is rebuilt.
Also, since we have approval over the generated header file name,
it greatly simplifies both the generator and also all the gyp files
as they no longer need to list the header file and keep in sync with the
java file, so the process now is as simple as adding a single java file
to the sources.
BUG=137069
TEST=build on android
Review URL: https://chromiumcodereview.appspot.com/10798010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147515 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=
TEST=net_unittests SpdyStreamSpdy2Test SpdyStreamSpdy3Test
Review URL: https://chromiumcodereview.appspot.com/10802006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147458 0039d316-1c4b-4281-b951-d872f2087c98
|
|
|
|
|
|
|
|
|
|
| |
BUG=137014,112155
TEST=no
TBR=sky@chromium.org, erg@chromium.org, tony@chromium.org, eroman@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10785017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147222 0039d316-1c4b-4281-b951-d872f2087c98
|