summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/net/fake_external_tab.cc
Commit message (Collapse)AuthorAgeFilesLines
* Explicit initialization of aura::Env for browser shell.dnicoara@chromium.org2013-10-091-0/+2
| | | | | | | | | | | | | | | | | | Most implementations (x11 aura with and without chromeos) do not explicitly call aura::Env::GetInstance() to initialize it. These build work as is because the call is done when performing other operations, such as adding observers. In OZONE there are no such calls, so the OZONE build fails when trying to create a compositor since the Compositor::Initialize hasn't been called. This patch adds an explicit initialization for aura based builds to fix this issue. BUG= Review URL: https://codereview.chromium.org/23882007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227745 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 224269 "Don't persist HPKP if PrivacyMode is enabled."tkent@chromium.org2013-09-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | | It broke Google Chrome ChromeOS bot. http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20ChromeOS/builds/58548/steps/compile/logs/stdio#error1 FAILED: g++ ... -c ../../net/socket/ssl_client_socket_nss.cc -o obj/net/socket/net.ssl_client_socket_nss.o ../../net/socket/ssl_client_socket_nss.cc: In member function 'int net::SSLClientSocketNSS::DoVerifyCertComplete(int)': ../../net/socket/ssl_client_socket_nss.cc:3445:64:error: no matching function for call to 'net::TransportSecurityState::GetDomainState(const string&, bool&, net::TransportSecurityState::DomainState*)' ../../net/socket/ssl_client_socket_nss.cc:3445:64: note: candidate is: ../../net/http/transport_security_state.h:212:8: note: bool net::TransportSecurityState::GetDomainState(const string&, bool, bool, net::TransportSecurityState::DomainState*) ../../net/http/transport_security_state.h:212:8: note: candidate expects 4 arguments, 3 provided > Don't persist HPKP if PrivacyMode is enabled. > > BUG=258667 > > Review URL: https://chromiumcodereview.appspot.com/19269012 TBR=mef@chromium.org Review URL: https://codereview.chromium.org/24251011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224275 0039d316-1c4b-4281-b951-d872f2087c98
* Don't persist HPKP if PrivacyMode is enabled.mef@chromium.org2013-09-201-0/+1
| | | | | | | | BUG=258667 Review URL: https://chromiumcodereview.appspot.com/19269012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224269 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 223894 "Revert "Enable device discovery notifications.""vitalybuka@chromium.org2013-09-191-0/+3
| | | | | | | | | | | | | | | | | | | | Re-enable device discovery. It should not regress perf after r224052. > Revert "Enable device discovery notifications." > > This reverts commit 15e19ede41054676329caafa49f0b29065e5f1e3. This commit is > being reverted since it causes a significant increase in memory usage. > > TBR=vitalybuka > BUG=292754 > > Review URL: https://codereview.chromium.org/23536066 TBR=teravest@chromium.org Review URL: https://codereview.chromium.org/24191003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@224162 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Enable device discovery notifications."teravest@chromium.org2013-09-181-3/+0
| | | | | | | | | | | | This reverts commit 15e19ede41054676329caafa49f0b29065e5f1e3. This commit is being reverted since it causes a significant increase in memory usage. TBR=vitalybuka BUG=292754 Review URL: https://codereview.chromium.org/23536066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223894 0039d316-1c4b-4281-b951-d872f2087c98
* Enable device discovery notifications.vitalybuka@chromium.org2013-09-131-0/+3
| | | | | | | | | | | Add kill switch for notifications. Disable notifications for task manager test. BUG=286157 Review URL: https://chromiumcodereview.appspot.com/23903024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223106 0039d316-1c4b-4281-b951-d872f2087c98
* Fix regression: don't redirect to data: URLs.tsepez@chromium.org2013-08-161-1/+4
| | | | | | | | BUG=272072 Review URL: https://chromiumcodereview.appspot.com/22794009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217875 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 216444 "net: add a test to ensure that our TLS handshake ..."frankf@chromium.org2013-08-081-1/+3
| | | | | | | | | | | | | | | | | | | | This is failing on Android bots. > net: add a test to ensure that our TLS handshake doesn't get too large. > > (I would like the test to assert that we have some headroom too, but we don't > have any to assert!) > > BUG=none > R=rsleevi@chromium.org, wtc@chromium.org > > Review URL: https://codereview.chromium.org/19557004 TBR=agl@chromium.org Review URL: https://codereview.chromium.org/22371007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216479 0039d316-1c4b-4281-b951-d872f2087c98
* net: add a test to ensure that our TLS handshake doesn't get too large.agl@chromium.org2013-08-081-3/+1
| | | | | | | | | | | | (I would like the test to assert that we have some headroom too, but we don't have any to assert!) BUG=none R=rsleevi@chromium.org, wtc@chromium.org Review URL: https://codereview.chromium.org/19557004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216444 0039d316-1c4b-4281-b951-d872f2087c98
* Add a CertVerifier flag to enable hard fail for local (non-public) trust ↵rsleevi@chromium.org2013-07-301-0/+1
| | | | | | | | | | | | | | | | anchors. If revocation checking fails when chaining to a locally trusted root, this will treat the certificate as revoked ('hard fail'). This does not affect revocation checking when chained to public CAs. BUG=258642 R=wtc TBR=robertshield Review URL: https://chromiumcodereview.appspot.com/18388005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214312 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor utility methods that don't use the ProfileManager directly out of ↵noms@chromium.org2013-07-181-1/+2
| | | | | | | | | | | | | | | | the ProfileManager. I only picked public, static, functions that look standalone -- i.e. don't use any other functions in the ProfileManager, and only interact with other classes (browser, file paths, registry preferences) BUG=none TEST=existing unit and browser tests Review URL: https://chromiumcodereview.appspot.com/18615010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212221 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 PathExists to base namespace.brettw@chromium.org2013-07-111-1/+1
| | | | | | | | | BUG= TBR=jam@chromium.org Review URL: https://codereview.chromium.org/18286004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@211147 0039d316-1c4b-4281-b951-d872f2087c98
* Create the desktop screen in the CF net tests.grt@chromium.org2013-07-031-0/+9
| | | | | | | | | | | This is needed for the Chrome Frame net tests to run under Aura. BUG=none R=robertshield@chromium.org Review URL: https://chromiumcodereview.appspot.com/18591003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209940 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
* More tests for handling HSTS and HPKP headers.palmer@chromium.org2013-06-291-0/+2
| | | | | | | | | | | | | | | Fix state management bugs that the tests exposed: * HPKP and HSTS include_subdomains should be distinct * HSTS processing should not clobber HPKP data * Multiple HPKP headers should ignore all but the first BUG=248678, 156152 TBR=ananta Review URL: https://chromiumcodereview.appspot.com/16912003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@209290 0039d316-1c4b-4281-b951-d872f2087c98
* Define a LoggingSettings struct to use for InitLogging()akalin@chromium.org2013-06-211-6/+5
| | | | | | | | | | | | | | | | | | Update all callers of InitLogging() to use LoggingSettings, only setting fields that need a non-default value. Turn LoggingDestination enum into a bit field and define add LOG_DEFAULT and LOG_ALL constants. Fix erroneous comment saying that the default was to not lock the log file. BUG=247594 TBR=brettw@chromium.org, cpu@chromium.org, gene@chromium.org, jam@chromium.org, rch@chromium.org, scherkus@chromium.org, sergeyu@chromium.org, sky@chromium.org, tkent@chromium.org, yfriedman@chromium.org, zea@chromium.org Review URL: https://codereview.chromium.org/16519003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207920 0039d316-1c4b-4281-b951-d872f2087c98
* Add GetFullRequestHeaders, from URLRequestJob to HttpNetworkTransaction.ttuttle@chromium.org2013-06-201-1/+4
| | | | | | | | | | | | | | | | | Dev Tools displays the raw request and response headers. Right now, it gets them by snarfing them out of the NetLog, which is bad, as the NetLog is for huamn consumption only. I'm trying to refactor the DevToolsNetLogObserver away; providing an alternate, supported path to get the request headers is the first step. BUG=196304 TEST=added to URLRequest, HttpTransaction, and HttpNetworkTransaction unittests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=199535 Review URL: https://chromiumcodereview.appspot.com/12621011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207341 0039d316-1c4b-4281-b951-d872f2087c98
* Use a direct include of strings headers in chrome_frame/.avi@chromium.org2013-06-111-2/+2
| | | | | | | | | | BUG=247723 TEST=none TBR=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/16391006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@205413 0039d316-1c4b-4281-b951-d872f2087c98
* chrome_frame: Use base::MessageLoop.xhwang@chromium.org2013-05-301-3/+3
| | | | | | | | | BUG=236029 R=ananta@chromium.org Review URL: https://codereview.chromium.org/15935013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203096 0039d316-1c4b-4281-b951-d872f2087c98
* Remove references to Profile from browser_context_keyed_service.phajdan.jr@chromium.org2013-05-221-1/+1
| | | | | | | | | BUG=227219 R=joi@chromium.org Review URL: https://codereview.chromium.org/15517005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201634 0039d316-1c4b-4281-b951-d872f2087c98
* Drop more dependencies of ProfileKeyedService infrastructure on chrome.phajdan.jr@chromium.org2013-05-171-0/+6
| | | | | | | | | | | | | | This extracts AssertFactoriesBuilt code to a file that will stay in chrome. This is a resubmit of https://codereview.chromium.org/14967003/ TBR=erg BUG=227219 Review URL: https://codereview.chromium.org/14832006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@200837 0039d316-1c4b-4281-b951-d872f2087c98
* Extract locking behaviour from ProcessSingleton.erikwright@chromium.org2013-04-191-4/+1
| | | | | | | | | | | | | | | | | This refactoring continues the division of the behaviour of ProcessSingleton into two parts: * The protocol for establishing a server process and communicating between the client and server. * How the server processes command-line invocations. Very small behavioural change: * If an error occurs while parsing the command-line received via COPY_DATA, the modal dialog (if any) is no longer flashed and raised to foreground. The motivation for this change is that I wish to introduce some more sophisticated behaviour when queuing messages during startup. See the follow-up CL (in-progress) at https://codereview.chromium.org/12674028/ . BUG=170726,170734,225693 Review URL: https://chromiumcodereview.appspot.com/12096114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@195264 0039d316-1c4b-4281-b951-d872f2087c98
* Update the remaining include paths of base/string_piece.h to its new location.tfarina@chromium.org2013-04-171-1/+1
| | | | | | | | | | | string_piece.h was moved into base/strings/ in r191206 - https://chromiumcodereview.appspot.com/12982018/ TBR=brettw@chromium.org Review URL: https://codereview.chromium.org/14272007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@194693 0039d316-1c4b-4281-b951-d872f2087c98
* Don't set MODE_DEFAULT when adding HPKP header.palmer@chromium.org2013-04-101-2/+3
| | | | | | | | | | | | | | Leave that to the default value, or whatever value an HSTS header set. TEST=net_unittests; after visiting https://www.mv-rechberghausen.de, query that domain in chrome://net-internal/#hsts and expect pins AND mode STRICT. BUG=226068 Review URL: https://chromiumcodereview.appspot.com/13483007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@193443 0039d316-1c4b-4281-b951-d872f2087c98
* Hide ContentClient getters from embedders so that they they don't reuse ↵jam@chromium.org2013-04-051-2/+1
| | | | | | | | | content's embedder API. The main reasons are that it makes content's embedder interfaces harder to change if they're reused by the embedder, and that its makes it confusing for embedder code when there are multiple ways to do the same thing. BUG=227047 Review URL: https://codereview.chromium.org/13409003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192649 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify the ProcessSingleton API.erikwright@chromium.org2013-03-281-6/+7
| | | | | | | | | | Instead of having multiple functions that take a callback to initialize a member variable, intitialize the member once during the constructor. This reduces the variability of the internal state of ProcessSingleton. BUG=170726, 170734 Review URL: https://chromiumcodereview.appspot.com/12668027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191131 0039d316-1c4b-4281-b951-d872f2087c98
* Refactor sandbox_policy.cc so that it doesn't contain the sandbox policies ↵jam@chromium.org2013-03-201-2/+1
| | | | | | | | | | | | | | | | | | | | for all processes. Instead have whoever creates a sandboxed process set this data. This allows us to clean a few NaCl related changes in content: -remove NaCl sandbox rules from content -remove the hack for ifdef'ing out the GPU policy since it didn't link for nacl64.exe -remove the 1GB memory reservation for the NaCl loader process out of content Other cleanup: -renamed sandbox_policy.* to sandbox_win.* to match the other platform-specific sandbox files -moved BrokerGetFileHandleForProcess to internal content files since it's not called from outside -remove AddGpuDllEvictionPolicy since it was redundant (the one dll it removed was already listed in the generic list) There's still more cleanup to be done in the sandbox code (i.e. remove chrome frame switch, nacl process type switch etc). I will do that in future changes. BUG=191682 Review URL: https://codereview.chromium.org/12805004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@189175 0039d316-1c4b-4281-b951-d872f2087c98
* Re-enable some network tests that have been disabled formmenke@chromium.org2013-02-201-0/+6
| | | | | | | | | | | | over a year due to failures with Chrome Frame. Keep them disabled for Chrome Frame tests. Also disable two of them on Android. BUG=102991 Review URL: https://codereview.chromium.org/12042058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183367 0039d316-1c4b-4281-b951-d872f2087c98
* Move remaining non-test, non-Chrome-specific Prefs code to base/prefs/.joi@chromium.org2013-02-111-2/+2
| | | | | | | | | | | | | | This is a mostly-automated change, using ./tools/git/move_source_file.py to move files and fix up include guards and #includes from other files. Manual edits were limited to fixing up .gypi files and adding BASE_PREFS_EXPORT where needed. TBR=ben@chromium.org BUG=155525 Review URL: https://codereview.chromium.org/12211105 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181707 0039d316-1c4b-4281-b951-d872f2087c98
* Rename FilePath -> base::FilePath in various toplevel directoriesbrettw@chromium.org2013-02-101-7/+8
| | | | | | Review URL: https://codereview.chromium.org/12211108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181639 0039d316-1c4b-4281-b951-d872f2087c98
* Remove PrefServiceSimple, replacing it with PrefService and PrefRegistrySimple.joi@chromium.org2013-02-061-2/+8
| | | | | | | | | | | | This is a step towards removing registration methods from PrefService and simplifying its class hierarchy. TBR=ben@chromium.org BUG=155525 Review URL: https://chromiumcodereview.appspot.com/11741003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180873 0039d316-1c4b-4281-b951-d872f2087c98
* LoadTiming in net, part 3.mmenke@chromium.org2013-01-211-0/+5
| | | | | | | | | | | | | | | Add send and receive times to HttpNetworkTransaction. Add LoadTimingInfo accessors to Http*Transaction, URLRequestJob, and URLRequest classes. Proxy resolution times still need to be added. BUG=77446 Review URL: https://chromiumcodereview.appspot.com/11929017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177942 0039d316-1c4b-4281-b951-d872f2087c98
* [Profiles, Fixit] Removing usage of GetDefaultProfile from chrome_frame code.rlp@chromium.org2013-01-041-1/+1
| | | | | | | | | | | I will do a second pass when I fix GetDefaultProfileDir. BUG=83792 Review URL: https://chromiumcodereview.appspot.com/11571089 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175078 0039d316-1c4b-4281-b951-d872f2087c98
* build fix attemptthakis@chromium.org2012-12-031-1/+1
| | | | | | | | BUG=none Review URL: https://codereview.chromium.org/11308333 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170818 0039d316-1c4b-4281-b951-d872f2087c98
* Move many ProcessSingleton methods to "protected" visibility as an upcoming ↵gab@chromium.org2012-12-031-0/+2
| | | | | | | | | | | | refactoring of ProcessSingleton on Windows requires that only NotifyOtherProcessOrCreate() be callable from the public interface. This doesn't change any code logic, just moves things around. BUG=None Review URL: https://codereview.chromium.org/11415237 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170805 0039d316-1c4b-4281-b951-d872f2087c98
* POSTs to HSTS domains are no longer converted to GETs mmenke@chromium.org2012-11-281-1/+2
| | | | | | | | | | | | | | | on upgrade to https. URLRequestRedirectJobs now take a status code on construction, to reduce the change of regressions, and the status code can no longer be changed after construction. TBR=jhawkins@chromium.org BUG=159343 Review URL: https://chromiumcodereview.appspot.com/11420013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170029 0039d316-1c4b-4281-b951-d872f2087c98
* Move scoped_temp_dir from base to base/filesbrettw@chromium.org2012-11-161-2/+2
| | | | | | | | | | Also add to base namespace. BUG= Review URL: https://codereview.chromium.org/11359217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@168281 0039d316-1c4b-4281-b951-d872f2087c98
* Reland 167337 - Move url_request_test_util into net namespacejochen@chromium.org2012-11-131-1/+1
| | | | | | | | | | | | | | | This file contains some rather generic names like "TestDelegate". Move it to the net namespace to avoid collisions BUG=none TBR=wtc@chromium.org,darin@chromium.org Original Review URL: https://codereview.chromium.org/11369179 Review URL: https://chromiumcodereview.appspot.com/11365227 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167413 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 167337 - Move url_request_test_util into net namespacejochen@chromium.org2012-11-131-1/+1
| | | | | | | | | | | | | | | This file contains some rather generic names like "TestDelegate". Move it to the net namespace to avoid collisions BUG=none TBR=darin@chromium.org Review URL: https://codereview.chromium.org/11369179 TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/11410066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167356 0039d316-1c4b-4281-b951-d872f2087c98
* Move url_request_test_util into net namespacejochen@chromium.org2012-11-131-1/+1
| | | | | | | | | | | | This file contains some rather generic names like "TestDelegate". Move it to the net namespace to avoid collisions BUG=none TBR=darin@chromium.org Review URL: https://codereview.chromium.org/11369179 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@167337 0039d316-1c4b-4281-b951-d872f2087c98
* Moved JsonPrefStore to use SequencedWorkerPool instead of FILE thread. The ↵zelidrag@chromium.org2012-11-081-3/+11
| | | | | | | | | | | pool also ensures that the same file requests are written in order received and that they block on shutdown. BUG=153367 TEST=existing unit/browser tests Review URL: https://codereview.chromium.org/11027070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166603 0039d316-1c4b-4281-b951-d872f2087c98
* Provide mutable members of UrlRequestContext via pure-virtual interface. ↵pauljensen@chromium.org2012-11-071-2/+3
| | | | | | | | | | Create a pure-virtual interface called HttpUserAgentSettings that provides access to the Accept-Language, Accept-Charset, and User-Agent HTTP headers. Each UrlRequestContext should have a HttpUserAgentSettings implementation attached via set_http_user_agent_settings(). BUG=146596 Review URL: https://chromiumcodereview.appspot.com/10918279 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166425 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 165062 - We believe this change broke startup_testsnsylvain@chromium.org2012-11-011-11/+3
| | | | | | | | | | | | | | | | Original description: Moved JsonPrefStore to use SequencedWorkerPool instead of FILE thread. The pool also ensures that the same file requests are written in order received and that they block on shutdown. BUG=153367 TEST=existing unit/browser tests Review URL: https://codereview.chromium.org/11027070 TBR=zelidrag@chromium.org Review URL: https://codereview.chromium.org/11312046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165492 0039d316-1c4b-4281-b951-d872f2087c98
* Account for server vs host clock skew in cookie expiration times.pauljensen@chromium.org2012-11-011-0/+1
| | | | | | | | | | | | | When setting a cookie's expiration time in the cookie store we need to take into account any difference between the HTTP server and the host machine's real time clock. This reverts 159685 which reverted 146616. BUG=135131 TEST=net_unittests --gtest_filter=CookieMonster/CookieStoreTest/0.TestCookieDeletion Review URL: https://chromiumcodereview.appspot.com/11339032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165323 0039d316-1c4b-4281-b951-d872f2087c98
* Moved JsonPrefStore to use SequencedWorkerPool instead of FILE thread. The ↵zelidrag@chromium.org2012-10-301-3/+11
| | | | | | | | | | | pool also ensures that the same file requests are written in order received and that they block on shutdown. BUG=153367 TEST=existing unit/browser tests Review URL: https://codereview.chromium.org/11027070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165062 0039d316-1c4b-4281-b951-d872f2087c98
* Process only the first Strict-Transport-Security header.palmer@chromium.org2012-10-301-0/+7
| | | | | | | | | | In accordance with the specification. BUG=156147 Review URL: https://chromiumcodereview.appspot.com/11192045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@165013 0039d316-1c4b-4281-b951-d872f2087c98
* when running in single process mode, modify the browser's command line to ↵jochen@chromium.org2012-10-251-1/+1
| | | | | | | | | | | | | | | include the --lang flag The renderers expect this flag to be present, and WebKit expects a non-empty default language BUG=154539 TEST=no assert about missing default locale when running a debug build of chrome or content_shell in single process mode TBR=erikwright Review URL: https://chromiumcodereview.appspot.com/11231055 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163967 0039d316-1c4b-4281-b951-d872f2087c98
* Eliminate duplicate COM and OLE initializations.pkasting@chromium.org2012-10-231-8/+2
| | | | | | | | | | This is take 2; the original patch ( http://crrev.com/159815 ), which only dealt with OLE, broke a few tests. The OneClickSignIn tests were skipping the RenderViewHostTestHarness SetUp() method, while the Accessibility tests directly muck with Widgets and thus have to manually init OLE. BUG=none TEST=Fewer "Multiple OleInitialize..." messages in tests Review URL: https://codereview.chromium.org/11031059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163470 0039d316-1c4b-4281-b951-d872f2087c98
* URLRequestHttpJob::StartTransaction should honour network delegate.vabr@chromium.org2012-09-271-0/+7
| | | | | | | | | | | If a network delegate returns net::ERR_BLOCKED_BY_CLIENT inside URLRequestHttpJob::StartTransaction() the job is not cancelled. This does not happen, e.g., when ERR_BLOCKED_BY_CLIENT is returned within URLRequestHttpJob::OnStartCompleted(). This CL attempts to change the behaviour of StartTransaction() to cancel the job on the error signal from the delegate. BUG=146816 TEST=This is not testable in the browser without custom code changes yet. Review URL: https://chromiumcodereview.appspot.com/10911151 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158984 0039d316-1c4b-4281-b951-d872f2087c98