summaryrefslogtreecommitdiffstats
path: root/net/base
Commit message (Collapse)AuthorAgeFilesLines
* Add load states for requests stalled waiting for a socket slotmmenke@chromium.org2013-07-201-0/+11
| | | | | | | | | | | | | in socket pools / socket pool groups. This is intended to make it easier to identify issues where something is holding on to sockets and not releasing them, as is the case in two of the referenced bugs. Also helpful to identify proxy issues where the global socket pool limit is reached. Bug=241844,233181,248412 Review URL: https://chromiumcodereview.appspot.com/19278016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212739 0039d316-1c4b-4281-b951-d872f2087c98
* net: Fix references to googleurl.tfarina@chromium.org2013-07-202-2/+2
| | | | | | | | | | | googleurl is deprecated and moved to src/url/. BUG=229660 R=eroman@chromium.org Review URL: https://codereview.chromium.org/19492015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212703 0039d316-1c4b-4281-b951-d872f2087c98
* Replace third_party/icu/public with third_party/icu/source in the include ↵jshin@chromium.org2013-07-181-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | directives. This is to move back icu headers in third_party/icu/public/{i18n,common}/unicode back to their upstream locations in third_party/icu/source/{i18n,common}/unicode. http://codereview.chromium.org/18836004 has is a CL to move ICU header files. Roll ICU to the version with the above ICU CL (http://crrev.com/211851 ). In addition to the global replacement of third_party/icu/public with third_party/icu/source, the top-level DEPS, DEPS in printing and chrome/ are tightened up. (the latter two were too permissive (it used to allow any header from third_party/icu). Besides, sync '-foo' list in ios/public/DEPS with '+foo' in the top-level DEPS and build/linux/unbundled/icu.gyp is updated. BUG=251433 TEST=Compile succeeds on all bots. checkdeps.py does not find any error. TBR=brettw,sky,wtc Review URL: https://chromiumcodereview.appspot.com/18252003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212324 0039d316-1c4b-4281-b951-d872f2087c98
* Reduce the complexity of WebSocketThrottle's wakeup codetyoshino@chromium.org2013-07-181-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, job removing code and wakeup code are separate. With the wait queue algorithm employed by WakeupSocketIfNecessary, we have O(N^2 log N) total complexity for shutting down all pending jobs. So, it can make IO thread busy for long time. To prevent such situation occurring for bogus web app, - integrate wakeup code into job removing code so that we can build a list of wakeup candidates from removing process and check only jobs in it. Total complexity for shutdown will then be O(N log N) - have some reasonable limit for the maximum number of WebSocketJob instances pending in the WebSocketThrottle. The number of WebSocketJob instances pending in WebSocketThrottle will be limited up to 1k. Also, the number of active SocketStream instances should be limited. When huge number of WebSocket instances are created, it pressures the browser process. It'll be limited up to 16k. BUG=259005 Review URL: https://chromiumcodereview.appspot.com/18932005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212235 0039d316-1c4b-4281-b951-d872f2087c98
* Remove interface probing for IPv6 support from HostResolverImplszym@chromium.org2013-07-184-225/+0
| | | | | | | | | | Since r195406 the probe is not used. It is now safe to remove this code completely. BUG=260750 Review URL: https://chromiumcodereview.appspot.com/19286002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212224 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 212129 "Cleaning up TODO(joi) entries in //net."michaeln@google.com2013-07-171-0/+3
| | | | | | | | | | | | | | | | | | | | | | > Cleaning up TODO(joi) entries in //net. > > The two TODOs related to threading are apparently gone so I'm removing > the TODOs and associated code. > > I no longer think it's worth pursuing the idea of separating > throttling and the sliding window concept, so transforming a TODO > related to that to just an observation. > > TBR=darin@chromium.org > BUG=none > > Review URL: https://chromiumcodereview.appspot.com/18261003 TBR=joi@chromium.org Review URL: https://codereview.chromium.org/19674007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212148 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of the message_loop header in net/, part 1.avi@chromium.org2013-07-1713-13/+13
| | | | | | | | | | BUG=260807 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/19614003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212138 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaning up TODO(joi) entries in //net.joi@chromium.org2013-07-171-3/+0
| | | | | | | | | | | | | | | | The two TODOs related to threading are apparently gone so I'm removing the TODOs and associated code. I no longer think it's worth pursuing the idea of separating throttling and the sliding window concept, so transforming a TODO related to that to just an observation. TBR=darin@chromium.org BUG=none Review URL: https://chromiumcodereview.appspot.com/18261003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212129 0039d316-1c4b-4281-b951-d872f2087c98
* Rename base::Delete to base::DeleteFilebrettw@chromium.org2013-07-161-2/+2
| | | | | | | | | | | Also renames DeleteAfterReboot to DeleteFileAfterReboot, and removes FileUtilProxy::RecursiveDelete which was never called. BUG= R=shess@chromium.org Review URL: https://codereview.chromium.org/18584011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211822 0039d316-1c4b-4281-b951-d872f2087c98
* Move PathIsWritable, DirectoryExists, ContentsEqual, and TextContentsEqual ↵brettw@chromium.org2013-07-151-1/+1
| | | | | | | | | | to the base namespace. TBR=sky Review URL: https://codereview.chromium.org/19052005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211675 0039d316-1c4b-4281-b951-d872f2087c98
* net: Migrate from googleurl/ includes to url/ ones.tfarina@chromium.org2013-07-1220-25/+25
| | | | | | | | | | BUG=229660 R=eroman@chromium.org TBR=eroman@chromium.org Review URL: https://chromiumcodereview.appspot.com/6362186595172352 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211347 0039d316-1c4b-4281-b951-d872f2087c98
* net: Remove 70KB of relocatable string pointers.digit@chromium.org2013-07-119-6167/+18435
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Profiling shows that effective_tld_names.cc generates more than 70 KB of tables containing constant pointers to strings. On Linux and Android, this makes the tables relocatable, which means: - The tables are placed in the non-shareable RELRO section of the ELF library. On Android, each Chromium process will require 70 KB of private RAM to store them. - The pointers need to be relocated by the dynamic linker at load time, slowing down startup time (mainly due to the extra page faults, especially during a cold boot). This patch removes these pointers by generating tables that only contain offsets into a common string pool, using the gperf -P option and modifying the caller of the generated function to perform the relocation at runtime. On Android, this patch should save a little RAM in each Chromium process. It will also slightly speed up startup / library loading. BUG=249747,245442 R=nyquist@chromium.org, pam@chromium.org Review URL: https://codereview.chromium.org/18341004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210990 0039d316-1c4b-4281-b951-d872f2087c98
* Added PlatformSocketFactory to override WSASocket calls.vitalybuka@chromium.org2013-07-022-0/+35
| | | | | | | | | | | | This allows to run mDns code in sandbox by replacing WSASocket with pre-created sockets. Current design of UDPSocket combines WSASocket and bind. But WSASocket must be called outside of sandbox when bind can be called inside of sandbox. So probably this factory is simplest way to make it work in sandbox without changing UDPSocket API. BUG=245391 Review URL: https://chromiumcodereview.appspot.com/17706004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209768 0039d316-1c4b-4281-b951-d872f2087c98
* Generates the DTLS identity in browser process and returns it to the ↵jiayl@chromium.org2013-07-011-0/+3
| | | | | | | | | | | | | | | | | renderer process. This is the first part of implementing a persistent identity store for WebRTC in Chrome. It implements the IPC messages to request and return the DTLS identity and the identity generation in browser process. A persistent store based on SQLite DB will be implemented later. DTLSIdentityService: used in the renderer process to request a DTLS identity. It sends an IPC to the browser process and receives the reply containing the identity in a callback. DTLSIdentityServiceHost: listens for the IPC message from DTLSIdentityService and passes the request to DTLSIdentityStore. DTLSIdentityStore: created per RenerProcessHost. For now it always generates a new identity on a worker thread for each request, without any caching or persistent storage. BUG=https://code.google.com/p/webrtc/issues/detail?id=1864 Review URL: https://chromiumcodereview.appspot.com/15969025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209499 0039d316-1c4b-4281-b951-d872f2087c98
* Move file_util::Delete to the base namespacebrettw@chromium.org2013-07-011-2/+2
| | | | | | | | BUG= Review URL: https://codereview.chromium.org/16950028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209475 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of time headers in net/, part 1.avi@chromium.org2013-06-2819-20/+20
| | | | | | | | | | BUG=254986 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/18054009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209110 0039d316-1c4b-4281-b951-d872f2087c98
* No longer record whether an MD2/MD5 CA was seenrsleevi@chromium.org2013-06-281-10/+5
| | | | | | | | | | | | | It is no longer necessary to histogram the frequency of when MD2/MD5 CAs are seen, as support has been removed (they now cause a warning/error) BUG=none R=wtc Review URL: https://chromiumcodereview.appspot.com/18132002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209057 0039d316-1c4b-4281-b951-d872f2087c98
* Update comment for ChromeNetLog class.kouhei@chromium.org2013-06-261-1/+3
| | | | | | | | | | Observer management was moved from NetLog to ChromeNetLog in r208152. BUG=None Review URL: https://chromiumcodereview.appspot.com/17583018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208599 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Remove unused includes of scoped_nsobject.h.thakis@chromium.org2013-06-251-1/+0
| | | | | | | | | | | Manual follow-up to mechanical https://codereview.chromium.org/17593006/ BUG=251957 NOTRY=true Review URL: https://chromiumcodereview.appspot.com/17627005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208410 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Update clients of scoped_nsobject.h.thakis@chromium.org2013-06-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1.) The header is now in base/mac instead of base/memory 2.) The class is now in namespace base. This CL was created programmatically by running: 1.) git grep -l memory/scoped_nsobject.h | xargs sed -i -e 's/memory\/scoped_nsobject.h/mac\/scoped_nsobject.h/g' for f in $(git diff --name-only origin); do tools/sort-headers.py $f -f; done git commit -a -m headers # manually undo changes to gypi file git cl upload # patch set 1 2.) git grep -l 'scoped_nsobject<' | xargs sed -i -e 's/scoped_nsobject</base::scoped_nsobject</g' # manually undo comment changes in scoped_nsobject.h, tracking_area.h git commit -a -m format git cl upload # patch set 2 # Manually audit all files, file bugs and clean up bad clang-format decisions git cl upload # patch set 3 BUG=251957 TBR=mark@chromium.org Review URL: https://codereview.chromium.org/17593006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208283 0039d316-1c4b-4281-b951-d872f2087c98
* mac: Replace base::mac::ScopedCFTypeRef with base::ScopedCFTypeRef.thakis@chromium.org2013-06-245-21/+17
| | | | | | | | | | | | | | | | | This CL was created fully mechanically by running git grep -l base::mac::ScopedCFTypeRef | xargs sed -i -e 's/base::mac::ScopedCFTypeRef/base::ScopedCFTypeRef/g' git commit -a -m. git clang-format HEAD^ --style=Chromium git commit -a -m. git cl upload -t $TITLE BUG=251957 TBR=mark@chromium.org Review URL: https://codereview.chromium.org/16917011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208245 0039d316-1c4b-4281-b951-d872f2087c98
* Move NetLogLogger from chrome/browser/net to net/base.kouhei@chromium.org2013-06-243-0/+392
| | | | | | | | | | We plan to use this from content_shell's --log-net-log commandline option. BUG=None Review URL: https://chromiumcodereview.appspot.com/16818027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208152 0039d316-1c4b-4281-b951-d872f2087c98
* Add logging to the QUIC write path.rch@chromium.org2013-06-221-2/+74
| | | | | | Review URL: https://chromiumcodereview.appspot.com/17518002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208098 0039d316-1c4b-4281-b951-d872f2087c98
* Shuffle media-related WebMimeRegistry code from webkit/ to content/.scherkus@chromium.org2013-06-222-32/+20
| | | | | | | | | | TestShellWebMimeRegistryImpl has been replaced in lieu of content_shell calling net::RemoveProprietaryMediaTypesAndCodecsForTests(). BUG=251306 Review URL: https://chromiumcodereview.appspot.com/17447011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208045 0039d316-1c4b-4281-b951-d872f2087c98
* Add base namespace to more values in sync and elsewhere.brettw@chromium.org2013-06-211-2/+3
| | | | | | | | | | This makes sync and net compile with no "using *Value". BUG= Review URL: https://codereview.chromium.org/17034006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207907 0039d316-1c4b-4281-b951-d872f2087c98
* Optimize public suffix list implementationnyquist@chromium.org2013-06-177-22494/+22178
| | | | | | | | | | | | | | | | | | * Changes the datastructure used for each DomainRule to only have a char* and an int, instead of also including a bool. The int is then used as a flag to indicate exception, wildcard and/or private. * Flipped the order of operations for checking whether this is a private domain and whether private domains should be included, since most callers do not include private domains. * Use -m 10 instead of -m 5 flag when running gperf to further optimize the size of the lookup table. BUG=245442 R=pam@chromium.org Review URL: https://codereview.chromium.org/17155003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206813 0039d316-1c4b-4281-b951-d872f2087c98
* Allow custom TaskRunners for async operations in net::FileStream.earthdok@google.com2013-06-176-26/+71
| | | | | | | | | | | | | | | | | Make the FileStream constructor accept as a parameter the TaskRunner to be used for async file operations. Use base::WorkerPool by default. Also, change webkit::LocalFileStreamReader so that the same TaskRunner that we use for other file operations is passed to FileStream. With this change, FileSystemFileStreamReader tests shut down cleanly, whereas previously they leaked memory. BUG=248513 R=willchan,kinuko Review URL: https://chromiumcodereview.appspot.com/16986002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206767 0039d316-1c4b-4281-b951-d872f2087c98
* Gracefully handle an asynchronous write disconnect when an SSL read is pendingrsleevi@chromium.org2013-06-171-0/+14
| | | | | | | | | BUG=249848 R=wtc Review URL: https://chromiumcodereview.appspot.com/17105003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206751 0039d316-1c4b-4281-b951-d872f2087c98
* media: Remove VP9 flag, and enable VP9 support by default.tomfinegan@chromium.org2013-06-151-1/+2
| | | | | | | | | BUG=180280 TEST=VP9 pipeline integration tests pass Review URL: https://chromiumcodereview.appspot.com/16830004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206530 0039d316-1c4b-4281-b951-d872f2087c98
* AppCacheExecutableHandlers groundwork.michaeln@google.com2013-06-141-0/+4
| | | | | | | | | | | | | - define interfaces for their construction and invocation - utilize that interface in AppCacheUrlRequestJob There is no impl of the handler class or its factory yet, just some groundwork. BUG=101800 R=alecflett@chromium.org, rvargas@chromium.org Review URL: https://codereview.chromium.org/14557006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206520 0039d316-1c4b-4281-b951-d872f2087c98
* Report the new error ERR_SSL_DECRYPT_ERROR_ALERT when we receive thewtc@chromium.org2013-06-141-0/+5
| | | | | | | | | | | | | | | TLS decrypt_error alert message from the peer. This prevents a bad signature in our CertificateVerify message from triggering a TLS version fallback. R=agl@chromium.org,rsleevi@chromium.org BUG=248355 TEST=none Review URL: https://chromiumcodereview.appspot.com/16478003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206491 0039d316-1c4b-4281-b951-d872f2087c98
* Fix grammar in recurring macro commentjanx@chromium.org2013-06-142-2/+2
| | | | | | | | | | | | Trivial patch changing "generate enum" to "generate enum values" in comments justifying the lack of include guards in xmacro value lists. NOTRY=true TBR=yfriedman,atwilson,gavinp Review URL: https://chromiumcodereview.appspot.com/16147015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206405 0039d316-1c4b-4281-b951-d872f2087c98
* Media Galleries: Allow access to a few more audio file extensions.thestig@chromium.org2013-06-142-1/+40
| | | | | | | | | | | Most of them are just the audio variants to video containers and get sniffed as their video equivalents. The only new audio type added to the mime sniffer is FLAC. BUG=248673 Review URL: https://chromiumcodereview.appspot.com/16800002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206300 0039d316-1c4b-4281-b951-d872f2087c98
* Make net and ipc explicitly use the base namespace for Values.brettw@chromium.org2013-06-134-38/+39
| | | | | | | | | | | They're currently relying on a using in values.h that we want to remove. I removed several usings in net for consistency. BUG= R=willchan@chromium.org Review URL: https://codereview.chromium.org/15662008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206187 0039d316-1c4b-4281-b951-d872f2087c98
* Rewrite scoped_ptr<T>(NULL) to use the default ctor in net/.dcheng@chromium.org2013-06-122-4/+1
| | | | | | | | | | | This is the result of running the rewrite_scoped_ptr_ctor_null tool across all files built on Linux in the net/ directory. BUG=173286 Review URL: https://chromiumcodereview.appspot.com/16434016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205961 0039d316-1c4b-4281-b951-d872f2087c98
* net: use IsSecureScheme rather than matching "https".agl@chromium.org2013-06-121-1/+1
| | | | | | | | | | | | My r202927 matched against a scheme of "https" in order to be consistent with the other users in the same file. But it appears that IsSecureScheme is the better answer throughout the file. BUG=244260 Review URL: https://chromiumcodereview.appspot.com/16776005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205898 0039d316-1c4b-4281-b951-d872f2087c98
* Use base:: on string16 and char16 in net/ and url/avi@chromium.org2013-06-112-6/+6
| | | | | | | | | | BUG=none TEST=no change TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/16413006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205636 0039d316-1c4b-4281-b951-d872f2087c98
* Rename base/hash_tables to base/containers/hash_tables.brettw@chromium.org2013-06-115-8/+7
| | | | | | | | | | | Remove forwarding header BUG= R=avi@chromium.org Review URL: https://codereview.chromium.org/16667019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205584 0039d316-1c4b-4281-b951-d872f2087c98
* Call scoped_refptr<T>::get() rather than relying on implicit "operator T*"rsleevi@chromium.org2013-06-112-37/+73
| | | | | | | | | | | | | | | | | | | This upates calls to bound temporary objects to also use get(). While it has the same semantic equivalence to the existing code, this generally represents a dangerous pattern - indeed, part of the whole motivation for this change is to make this anti-pattern very visible to authors. This change simply updates all of the call sites, to allow the "operator T*" to be removed and preventing new instances. The existing instances will then be reviewed for "suspicious" changes and updated to use/pass scoped_refptr<T> rather than T*, as appropriate. BUG=110610 TBR=darin Review URL: https://codereview.chromium.org/15984016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205560 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of strings headers in net/android/, net/base/, ↵avi@chromium.org2013-06-1131-40/+40
| | | | | | | | | | | | net/cert/, net/cookies/. BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/15942015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205483 0039d316-1c4b-4281-b951-d872f2087c98
* Update includes of message_loop_proxy.brettw@chromium.org2013-06-104-4/+4
| | | | | | | | | | | This keeps the forwarding header, just updates all current callers. BUG= R=avi@chromium.org Review URL: https://codereview.chromium.org/16514006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205306 0039d316-1c4b-4281-b951-d872f2087c98
* Move FileEnumerator to its own file, do some refactoring.brettw@chromium.org2013-06-083-39/+27
| | | | | | | | | | | | | | It creates a class FileInfo to contain the details rather than using a platform-specific typedef. This allows the accessors GetName, GetSize, etc. to be moved directly to this class (previously they were static helpers on the FileEnumerator class) which makes a bunch of code much cleaner. It also gives reasonable getting and initialization which the previous version lacked. BUG=175002 Reland of 198820 and 298824 Original review = https://codereview.chromium.org/13165005 R=rvargas@chromium.org Review URL: https://codereview.chromium.org/16392011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205019 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor net::NetLog to provide implementation of observer pattern, not just ↵kouhei@chromium.org2013-06-075-97/+442
| | | | | | | | | | | | | | | | | | the interface. This would make use of net::NetLog::ThreadSafeObserver available from base/net, so custom NetLog implementations can focus on implementing OnAddEntry() without re-implementing all NetLog methods. The implementation of observer pattern was previously provided in ChromeNetLog. The contents of chrome_net_log_unittest are merged to net_log_unittest. TESTS=net_log_unittest BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=204861 Review URL: https://chromiumcodereview.appspot.com/16137008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204946 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 204861 "Refactor net::NetLog to provide implementation of..."kouhei@chromium.org2013-06-075-442/+97
| | | | | | | | | | | | | | | | | | | > Refactor net::NetLog to provide implementation of observer pattern, not just the interface. > This would make use of net::NetLog::ThreadSafeObserver available from base/net, so custom NetLog implementations can focus on implementing OnAddEntry() without re-implementing all NetLog methods. > > The implementation of observer pattern was previously provided in ChromeNetLog. > The contents of chrome_net_log_unittest are merged to net_log_unittest. > > TESTS=net_log_unittest > BUG=None > > Review URL: https://chromiumcodereview.appspot.com/16137008 TBR=kouhei@chromium.org Review URL: https://codereview.chromium.org/15927035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204892 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of utf_string_conversions.h in net/.avi@chromium.org2013-06-0712-12/+12
| | | | | | | | | | BUG=none TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/15995039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204876 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor net::NetLog to provide implementation of observer pattern, not just ↵kouhei@chromium.org2013-06-075-97/+442
| | | | | | | | | | | | | | | | the interface. This would make use of net::NetLog::ThreadSafeObserver available from base/net, so custom NetLog implementations can focus on implementing OnAddEntry() without re-implementing all NetLog methods. The implementation of observer pattern was previously provided in ChromeNetLog. The contents of chrome_net_log_unittest are merged to net_log_unittest. TESTS=net_log_unittest BUG=None Review URL: https://chromiumcodereview.appspot.com/16137008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204861 0039d316-1c4b-4281-b951-d872f2087c98
* Reland: Fix errors when building android with coverage=1 ilevy@chromium.org2013-06-061-1/+1
| | | | | | | | | | | | | | | Originally landed in r204547 Reverted in r204553 due to cq anomaly. Android builds with coverage=1 fail due to uninitialized variable warnings in base/linux_util.cc and base/net/net_util.cc BUG=245467 TBR=willchan Review URL: https://chromiumcodereview.appspot.com/16589002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204662 0039d316-1c4b-4281-b951-d872f2087c98
* Add unit tests for sniffing Office Docszork@chromium.org2013-06-062-2/+53
| | | | | | | | BUG=247189 Review URL: https://chromiumcodereview.appspot.com/16500005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204648 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 204556 "Fix errors when building android with coverage=1"ilevy@chromium.org2013-06-061-1/+1
| | | | | | | | | | | | | | | | | | | CQ anomaly x2. > Fix errors when building android with coverage=1 > > Android builds with coverage=1 fail due to uninitialized variable > warnings in base/linux_util.cc and base/net/net_util.cc > > BUG=245467 > > Review URL: https://chromiumcodereview.appspot.com/16077010 TBR=rwalker@codeaurora.org Review URL: https://codereview.chromium.org/16505004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204562 0039d316-1c4b-4281-b951-d872f2087c98
* Fix errors when building android with coverage=1rwalker@codeaurora.org2013-06-061-1/+1
| | | | | | | | | | | Android builds with coverage=1 fail due to uninitialized variable warnings in base/linux_util.cc and base/net/net_util.cc BUG=245467 Review URL: https://chromiumcodereview.appspot.com/16077010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204556 0039d316-1c4b-4281-b951-d872f2087c98