summaryrefslogtreecommitdiffstats
path: root/chrome_frame
Commit message (Collapse)AuthorAgeFilesLines
* Relanding this.ananta@chromium.org2011-03-051-4/+0
| | | | | | | | | | | | | | | | | | | Enable ChromeFrame net tests. These tests regressed with the change in the chunked upload code in net to move the formatting of individual chunks to the http network stack. This caused the URLRequestTestHTTP.TestPostChunkedDataBeforeStart test to hang in ChromeFrame. Fix is to ensure that the individual chunks are properly formatted while marshaling them over IPC. BUG=none TEST=chrome frame net tests should pass. TBR=amit Review URL: http://codereview.chromium.org/6621024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77010 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 77002 - Enable ChromeFrame net tests. These tests regressed with the ↵ananta@chromium.org2011-03-051-0/+4
| | | | | | | | | | | | | | | | | | | | | change in the chunked upload code in net to move the formatting of individual chunks to the http network stack. This caused the URLRequestTestHTTP.TestPostChunkedDataBeforeStart test to hang in ChromeFrame. Fix is to ensure that the individual chunks are properly formatted while marshaling them over IPC. BUG=none TEST=chrome frame net tests should pass. Review URL: http://codereview.chromium.org/6626035 TBR=ananta@chromium.org Review URL: http://codereview.chromium.org/6628029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77004 0039d316-1c4b-4281-b951-d872f2087c98
* Enable ChromeFrame net tests. These tests regressed with the change in the ↵ananta@chromium.org2011-03-051-4/+0
| | | | | | | | | | | | | | | | | | chunked upload code in net to move the formatting of individual chunks to the http network stack. This caused the URLRequestTestHTTP.TestPostChunkedDataBeforeStart test to hang in ChromeFrame. Fix is to ensure that the individual chunks are properly formatted while marshaling them over IPC. BUG=none TEST=chrome frame net tests should pass. Review URL: http://codereview.chromium.org/6626035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77002 0039d316-1c4b-4281-b951-d872f2087c98
* Change other usages of .size() to .empty() when applicable.erg@google.com2011-03-041-2/+1
| | | | | | | | | BUG=carnitas TEST=compiles Review URL: http://codereview.chromium.org/6609008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76962 0039d316-1c4b-4281-b951-d872f2087c98
* Disable Chrome Frame net tests temporarily. There are least two DCHECKS that ↵robertshield@chromium.org2011-03-041-9/+18
| | | | | | | | | | | | | | | get triggered running locally and the tests appear to fail on related changes. Also, they are not instantiating an AtExitManager early enough, so the call to chrome::RegisterPathProvider() may fail. This might have been reordered into a working state in some builds. Also, fix a call into profile code before registering certain needed preferences which causes a DCHECK. BUG=None TEST=None Review URL: http://codereview.chromium.org/6627009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76927 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 76880 - ChromeFrame would fail to upload POST data to the server if ↵ananta@chromium.org2011-03-0414-83/+401
| | | | | | | | | | | | | | | | | | | | | | | the webserver requested NTLM authentication. This is due to a bug in urlmon on IE6 and IE7 which manifests itself when the post data is passed to urlmon as an IStream. Fix is to pass in the uploaded data as a HGLOBAL. We always pass in a copy of the HGLOBAL which points to the posted data to urlmon. This is to have it accessible for reissuing navigation requests which target downloads. Fixes bug http://code.google.com/p/chromium/issues/detail?id=62687 BUG=62687 TEST=manually at this point. As we need a server which supports NTLM authentication like IIS. Review URL: http://codereview.chromium.org/6603006 TBR=ananta@chromium.org Review URL: http://codereview.chromium.org/6626008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76886 0039d316-1c4b-4281-b951-d872f2087c98
* ChromeFrame would fail to upload POST data to the server if the webserver ↵ananta@chromium.org2011-03-0414-401/+83
| | | | | | | | | | | | | | | | | | | | requested NTLM authentication. This is due to a bug in urlmon on IE6 and IE7 which manifests itself when the post data is passed to urlmon as an IStream. Fix is to pass in the uploaded data as a HGLOBAL. We always pass in a copy of the HGLOBAL which points to the posted data to urlmon. This is to have it accessible for reissuing navigation requests which target downloads. Fixes bug http://code.google.com/p/chromium/issues/detail?id=62687 BUG=62687 TEST=manually at this point. As we need a server which supports NTLM authentication like IIS. Review URL: http://codereview.chromium.org/6603006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76880 0039d316-1c4b-4281-b951-d872f2087c98
* Update the includes to the old tab_contents.hjam@chromium.org2011-03-021-1/+1
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6596103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76552 0039d316-1c4b-4281-b951-d872f2087c98
* Pure pedantry: Replace all ".size() == 0" with ".empty()".erg@google.com2011-03-022-2/+2
| | | | | | | | | BUG=carnitas TEST=compiles; existing unit tests. Review URL: http://codereview.chromium.org/6602049 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76467 0039d316-1c4b-4281-b951-d872f2087c98
* Attempting to fix the flakiness associated with a number of chrome frame ↵ananta@chromium.org2011-03-011-4/+2
| | | | | | | | | | | | | | | tests. It appears that we don't receive the OnQuit notification reliably after invoking IWebBrowser2::Quit. Changing the corresponding expectation to a LOG. BUG=none TEST=ChromeFrame tests. TBR=amit Review URL: http://codereview.chromium.org/6591061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76402 0039d316-1c4b-4281-b951-d872f2087c98
* Update a bunch of files to the new location of browser_thread.h jam@chromium.org2011-03-012-2/+2
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6591066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76390 0039d316-1c4b-4281-b951-d872f2087c98
* Add an integration test for Chrome Frame's DllRedirector class.robertshield@chromium.org2011-03-016-8/+233
| | | | | | | | | | | | | | | Fix a bug in the DllRedirector module loading code. Expand the alternate version generator code to provide a function for generating new versions of single modules. Remove the LI SACL from the shared memory lock for Win XP. BUG=NONE TEST=NONE Review URL: http://codereview.chromium.org/6600001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76338 0039d316-1c4b-4281-b951-d872f2087c98
* Delete the temporary headers left behind in chrome\browser. I've left ↵jam@chromium.org2011-03-011-2/+2
| | | | | | | | | browser_thread.h for another change, since 450 files include it. TBR=avi Review URL: http://codereview.chromium.org/6596060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76326 0039d316-1c4b-4281-b951-d872f2087c98
* Addressing the expectations of the ChromeFrame CF_DownloadFileFromPost test ↵ananta@chromium.org2011-02-281-1/+1
| | | | | | | | | | | | | | which fails on IE6 after the change to target downloads in a new window. Testing if this fixes it. BUG=none TEST=CF_DownloadFileFromPost passes on all CF builders. TBR=amit Review URL: http://codereview.chromium.org/6588070 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76310 0039d316-1c4b-4281-b951-d872f2087c98
* Download requests in ChromeFrame which occur in response to a POST request ↵ananta@chromium.org2011-02-2810-42/+115
| | | | | | | | | | | | | | | | | | | | | | need to pass the post data as well while reissuing the navigation. This ensures that a POST request is correctly sent out at all times instead of a GET request. While the assumption is that reusing the bind context would achieve this behavior, it does not appear to be true at all times. While fixing this I also found that reissuing a navigation via a NavigateWithBindCtx call causes the current chrome frame document to receive an Unload call at times, leading to the page being rendered useless after the request finishes. We should reissue the navigation on a new window to work around this problem. Fixes bug http://code.google.com/p/chromium/issues/detail?id=73985 BUG=73985 TEST=As described in the bug. Review URL: http://codereview.chromium.org/6598016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76282 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a ChromeFrame crash which occurs in the field typically during upgrades ↵ananta@chromium.org2011-02-241-1/+2
| | | | | | | | | | | | | | | | | | when multiple ChromeFrame versions are loaded in IE. We have code in ChromeFrame which attempts to fallback to the older version in case it is already loaded. This is done by creating a named shared memory block which contains the version of the loaded dll. Newer versions look at this block and fallback to the older version if any. However due to a small oversight this never worked as the shared memory block was created unnamed. Thus the fallbacks never occurred leading to multiple chrome frame binaries attempting to patch urlmon, etc. Fixes bug http://code.google.com/p/chromium/issues/detail?id=74047 BUG=74047 Review URL: http://codereview.chromium.org/6581045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75969 0039d316-1c4b-4281-b951-d872f2087c98
* ICU 4.6 upgrade chrome changes in phase 2jshin@chromium.org2011-02-241-1/+1
| | | | | | | | | | | | | | | | | A bunch of hard-coded references to icudt42.dll are updated to refer to icudt46.dll. See also http://codereview.chromium.org/6575042/ (and there's one more accompanying CL - internal). I'll follow up this CL with a change to rename icudtXX.dll to icudt.dll so that I don't have to do this again next time. BUG=73991,61514 TEST=daily archived builds have icudt46.dll Review URL: http://codereview.chromium.org/6580046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75961 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for the HTTPSGetTest and GetTest net test failures with ChromeFrame. ↵ananta@chromium.org2011-02-249-25/+55
| | | | | | | | | | | | | | | | | | These failures occurred because of new expectations in these tests which match the server ip address and port being connected to. We need to return that information from ChromeFrame. Fix is to send over the corresponding HostPortPair structure in the AutomationMsg_RequestStarted IPC message. A major part of this CL is basically the groundwork to pass this information over via automation. BUG=none TEST=chrome frame net tests should pass. Review URL: http://codereview.chromium.org/6575027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75942 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling the newly added net test URLRequestTest.NetworkDelegateProxyError ↵ananta@chromium.org2011-02-241-0/+2
| | | | | | | | | | | | | | for ChromeFrame as it uses the host (IE's) network stack. BUG=none TEST=chrome frame net tests. TBR=amit Review URL: http://codereview.chromium.org/6580015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75819 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for the chrome frame anchor url navigation test failures. Fix is to ↵ananta@chromium.org2011-02-231-0/+11
| | | | | | | | | | | | | | | | append the anchor portion of the url retrieved from the navigation manager to the url retrieved from the protocol sink wrapper. This is needed as the protocol sink wrapper sees the url without the anchor portion. BUG=71860 TEST=ChromeFrame anchor url tests. TBR=amit Review URL: http://codereview.chromium.org/6546081 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75704 0039d316-1c4b-4281-b951-d872f2087c98
* If we switch into ChromeFrame as a result of a redirect then we need to ↵ananta@chromium.org2011-02-226-28/+22
| | | | | | | | | | | | | | | | | | | | | navigate chrome to the correct URL to ensure that scripts on the page see the correct URL. This functionality regressed when the protocol sink patch landed. Fix is to read the URL from the ProtData object which wraps the underlying protocol sink, when our active document loads. Removed stale code from the Chromeframe moniker patch which eventually needs to go. Fixes bug http://code.google.com/p/chromium/issues/detail?can=2&q=71860 BUG=71860 TEST=As described in the bug. Review URL: http://codereview.chromium.org/6469103 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75656 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for chrome_launcher.exe command line construction.robertshield@chromium.org2011-02-221-3/+9
| | | | | | | | | | BUG=73425 TEST=NONE Review URL: http://codereview.chromium.org/6549022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75635 0039d316-1c4b-4281-b951-d872f2087c98
* Removing WS_EX_CLIENTEDGE from the extended styles for the ChromeFrame ↵ananta@chromium.org2011-02-181-1/+1
| | | | | | | | | | | | | | | | | active document. This fixes parts of bug http://code.google.com/p/chromium/issues/detail?id=55764 On IE9 a border is still drawn around all mshtml windows, which does not happen with ChromeFrame. This needs more investigation. BUG=55764 TEST=Launch IE9 and navigate to a ChromeFrame enabled page. The ChromeFrame page should not have a client edge border. Review URL: http://codereview.chromium.org/6531022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75427 0039d316-1c4b-4281-b951-d872f2087c98
* New policy protobuf protocol.jkummerow@chromium.org2011-02-171-2/+2
| | | | | | | | | | | | | | | (Third attempt to land http://codereview.chromium.org/6409040/ -- now without memory leaks) - cloud_policy.proto autogenerated from policy_templates.json - C++ method decoding the protobuf also autogenerated from policy_templates.json - changed policy fetching mechanism to fetch new-style policy protobufs BUG=68309, chromium-os:11253, chromium-os:11255 TEST=CloudPolicyCacheTest.*; also manual test against python testserver Review URL: http://codereview.chromium.org/6532019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75259 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r74842willchan@chromium.org2011-02-161-21/+21
| | | | | | | | | | | Merged correctly this time. BUG=none TEST=none Review URL: http://codereview.chromium.org/6523067 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75165 0039d316-1c4b-4281-b951-d872f2087c98
* Bump up the number of simultaneous connections in IE to 6. This is done via ↵ananta@chromium.org2011-02-163-0/+46
| | | | | | | | | | | | | | | a WinInet API InternetSetOption. Fixes bug http://code.google.com/p/chromium/issues/detail?id=50328 BUG=50328 TEST=none Review URL: http://codereview.chromium.org/6480092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75162 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 75143 - Reland r74842willchan@chromium.org2011-02-161-21/+21
| | | | | | | | | | | | | | The bug was that the ProfilePolicyContext was getting initialized before the ProfileImplIOData::Handle was initialized. BUG=67237 TEST=none Review URL: http://codereview.chromium.org/6526029 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/6480120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75152 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r74842willchan@chromium.org2011-02-161-21/+21
| | | | | | | | | | | The bug was that the ProfilePolicyContext was getting initialized before the ProfileImplIOData::Handle was initialized. BUG=67237 TEST=none Review URL: http://codereview.chromium.org/6526029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75143 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 75106 - New policy protobuf protocol.jkummerow@chromium.org2011-02-161-2/+2
| | | | | | | | | | | | | | | | | (Second attempt to land http://codereview.chromium.org/6409040/) - cloud_policy.proto autogenerated from policy_templats.json - C++ method decoding the protobuf also autogenerated from policy_templates.json - changed policy fetching mechanism to fetch new-style policy protobufs BUG=68309, chromium-os:11253, chromium-os:11255 TEST=CloudPolicyCacheTest.*; also manual test against python testserver Review URL: http://codereview.chromium.org/6523058 TBR=jkummerow@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75115 0039d316-1c4b-4281-b951-d872f2087c98
* New policy protobuf protocol.jkummerow@chromium.org2011-02-161-2/+2
| | | | | | | | | | | | | | | (Second attempt to land http://codereview.chromium.org/6409040/) - cloud_policy.proto autogenerated from policy_templats.json - C++ method decoding the protobuf also autogenerated from policy_templates.json - changed policy fetching mechanism to fetch new-style policy protobufs BUG=68309, chromium-os:11253, chromium-os:11255 TEST=CloudPolicyCacheTest.*; also manual test against python testserver Review URL: http://codereview.chromium.org/6523058 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75106 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 75082 - New policy protobuf protocol.jkummerow@chromium.org2011-02-161-2/+2
| | | | | | | | | | | | | | | - cloud_policy.proto autogenerated from policy_templates.json - C++ method decoding the protobuf autogenerated from policy_templates.json - changed policy fetching mechanism to fetch new-style policy protobufs BUG=68309, chromium-os:11253, chromium-os:11255 TEST=CloudPolicyCacheTest.*; also manual test against python testserver Review URL: http://codereview.chromium.org/6409040 TBR=jkummerow@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75084 0039d316-1c4b-4281-b951-d872f2087c98
* New policy protobuf protocol.jkummerow@chromium.org2011-02-161-2/+2
| | | | | | | | | | | | | - cloud_policy.proto autogenerated from policy_templates.json - C++ method decoding the protobuf autogenerated from policy_templates.json - changed policy fetching mechanism to fetch new-style policy protobufs BUG=68309, chromium-os:11253, chromium-os:11255 TEST=CloudPolicyCacheTest.*; also manual test against python testserver Review URL: http://codereview.chromium.org/6409040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75082 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete dependencies that create needless recompiling.jeanluc@chromium.org2011-02-152-12/+12
| | | | | | | | | BUG=71130 Review URL: http://codereview.chromium.org/6523009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74966 0039d316-1c4b-4281-b951-d872f2087c98
* Fix for a chrome frame crasher seen in the chrome frame mstone 10 beta channel.ananta@chromium.org2011-02-151-1/+2
| | | | | | | | | | | | | | | The crash occurs while processing an accelerator reflected from chrome and based on the crash dump occurs while dereferencing a NULL IOleInPlaceSite member. Fix is to check for the same. BUG=72957 TEST=none at this point. Review URL: http://codereview.chromium.org/6524003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74883 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 74842 - It seems to have broken the ChromeOS "PFQ bot"?willchan@chromium.org2011-02-141-21/+21
| | | | | | | | | | | | | | | | r74561 added a DCHECK to make sure users didn't try to access the ChromeURLRequestContextGetter from the Profile, since the Profile should only be read on the UI thread. ChromeOS apparently tried to access it from another thread, and therefore hit the new DCHECK. I'm relanding without the DCHECK. I'm also eagerly initializing the off the record context getter to prevent the ChromeOS race. ChromeOS should fix that code so the eager initialization isn't necessary. BUG=none TEST=none Review URL: http://codereview.chromium.org/6484041 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/6517021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74848 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r74728 which reverted r74561 for exposing a ChromeOS bug.willchan@chromium.org2011-02-141-21/+21
| | | | | | | | | | | | | r74561 added a DCHECK to make sure users didn't try to access the ChromeURLRequestContextGetter from the Profile, since the Profile should only be read on the UI thread. ChromeOS apparently tried to access it from another thread, and therefore hit the new DCHECK. I'm relanding without the DCHECK. I'm also eagerly initializing the off the record context getter to prevent the ChromeOS race. ChromeOS should fix that code so the eager initialization isn't necessary. BUG=none TEST=none Review URL: http://codereview.chromium.org/6484041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74842 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r74632 "Reland r74561 after fixing ChromeOS build breakage."oshima@google.com2011-02-121-21/+21
| | | | | | | | | | | | This reverts commit f19e6d524e086ed8182a475680e931a9a870d2a8. TBR=willchan@chromium.org BUG=none TEST=chromeos pfq bot should cycle green Review URL: http://codereview.chromium.org/6512009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74728 0039d316-1c4b-4281-b951-d872f2087c98
* A number of poorly written IE BHO's crash IE if ChromeFrame is the currently ↵ananta@chromium.org2011-02-116-105/+157
| | | | | | | | | | | | | | | | | | | | | | | loaded document. This is because they expect ChromeFrame to implement interfaces like IHTMLDocument2 on the same lines as regular IE documents. Currently in ChromeFrame we patch the invoke methods of these BHO's prior to firing navigation events from ChromeFrame. However this is not enough as these objects also crash for regular navigation events fired from IE when ChromeFrame is loaded. We now don't fire navigation events for buggy BHO's if ChromeFrame is the current document. The BuggyBho handler instance is now created once for the thread. We patch when we receive navigation notifications from Chrome as before. When we receive a notification on our patched event sink we check if CF is loaded and if yes skip the call. Added helpers to chrome frame utils to check if CF is loaded in the current web browser instance. BUG=55932 TEST=none Review URL: http://codereview.chromium.org/6493002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74691 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r74561 after fixing ChromeOS build breakage.willchan@chromium.org2011-02-111-21/+21
| | | | | | | | | | | | | | | | | Introduce OffTheRecordProfileIOData and ProfileImplIOData. They both inherit from ProfileIOData. The former is for the off the record (incognito) profile. The latter is for the normal ProfileImpl profile. All of the IO related Profile objects are now initialized at the same time, in the subtype implementations of ProfileIOData::LazyInitializeInternal(). I also took this opportunity to clean URLRequestContext up so it is a class and keeps its member variables private. This required touching a fair number of files. TODO: Remove lots of the refcounting of member variables, since they can now be owned by ProfileIOData. BUG=67237 TEST=none Review URL: http://codereview.chromium.org/6500002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74632 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 74561 for breaking the ChromeOS buildwillchan@chromium.org2011-02-111-21/+21
| | | | | | | | | | | | | | | | | | | | Introduce OffTheRecordProfileIOData and ProfileImplIOData. They both inherit from ProfileIOData. The former is for the off the record (incognito) profile. The latter is for the normal ProfileImpl profile. All of the IO related Profile objects are now initialized at the same time, in the subtype implementations of ProfileIOData::LazyInitializeInternal(). I also took this opportunity to clean URLRequestContext up so it is a class and keeps its member variables private. This required touching a fair number of files. TODO: Remove lots of the refcounting of member variables, since they can now be owned by ProfileIOData. BUG=67237 TEST=none Review URL: http://codereview.chromium.org/6286133 TBR=willchan@chromium.org Review URL: http://codereview.chromium.org/6489020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74564 0039d316-1c4b-4281-b951-d872f2087c98
* Introduce OffTheRecordProfileIOData and ProfileImplIOData.willchan@chromium.org2011-02-111-21/+21
| | | | | | | | | | | | | | | They both inherit from ProfileIOData. The former is for the off the record (incognito) profile. The latter is for the normal ProfileImpl profile. All of the IO related Profile objects are now initialized at the same time, in the subtype implementations of ProfileIOData::LazyInitializeInternal(). I also took this opportunity to clean URLRequestContext up so it is a class and keeps its member variables private. This required touching a fair number of files. TODO: Remove lots of the refcounting of member variables, since they can now be owned by ProfileIOData. BUG=67237 TEST=none Review URL: http://codereview.chromium.org/6286133 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74561 0039d316-1c4b-4281-b951-d872f2087c98
* Remove includes of message headers in headers.jam@chromium.org2011-02-0915-38/+115
| | | | | | Review URL: http://codereview.chromium.org/6458004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74257 0039d316-1c4b-4281-b951-d872f2087c98
* Silencing a (stupid) build warning:tommi@chromium.org2011-02-081-1/+1
| | | | | | | | | | | chrome_tab_version.rc(6) : warning RC4093: unescaped newline in character constant in inactive code TEST=none BUG=none Review URL: http://codereview.chromium.org/6451010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74151 0039d316-1c4b-4281-b951-d872f2087c98
* Remove DCHECK for an argument that may be NULL.tommi@chromium.org2011-02-081-1/+0
| | | | | | | | | TEST=none BUG=none Review URL: http://codereview.chromium.org/6452009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74150 0039d316-1c4b-4281-b951-d872f2087c98
* Change includes of gfx/* to ui/gfx/*sail@chromium.org2011-02-053-5/+5
| | | | | | | | | BUG=71063 TEST=compiled Review URL: http://codereview.chromium.org/6312156 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73890 0039d316-1c4b-4281-b951-d872f2087c98
* Added support in chrome frame for registering and unregistering the NPAPI ↵ananta@chromium.org2011-02-043-19/+45
| | | | | | | | | | | | | plugin as per user. This would ensure that the ChromeFrame Vista and above builders work correctly with UAC on. BUG=none TEST=ChromeFrame tests should pass on Vista with UAC on. Review URL: http://codereview.chromium.org/6368108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73860 0039d316-1c4b-4281-b951-d872f2087c98
* Disabling the IEOpenInNewWindow chrome frame test on IE7.ananta@chromium.org2011-02-041-0/+5
| | | | | | | | | | BUG=none TEST=none TBR=amit Review URL: http://codereview.chromium.org/6250163 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73832 0039d316-1c4b-4281-b951-d872f2087c98
* Invoke the OaEnablePerUserTLibRegistration function in oleaut32.dll during ↵ananta@chromium.org2011-02-041-0/+13
| | | | | | | | | | | | | | | | ChromeFrame per user registration on Vista and beyond. This is to workaround a bug on Vista SP1 and up where the mappings of per user type lib reg keys to HKCR don't work as expected. Windows 7 does not have this bug. The function is a noop there. BUG=none TEST=Per user chrome frame tests should work with UAC off Review URL: http://codereview.chromium.org/6286120 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73831 0039d316-1c4b-4281-b951-d872f2087c98
* Have a consistent UA string with chromeframe tokenamit@chromium.org2011-02-042-18/+30
| | | | | | | | | | | | | | | | | | | When using 'PostPlatform' registry, chromeframe UA token appears in the middle whereas when we dynamically append the UA we place it at the end. This has caused issues with sites looking for it in a specific place. This change modifies the logic while dynamically appending the UA to insert it consistently in the place where PostPlatform puts it. BUG=70024 TEST=covered by HtmlUtilUnittest.AddChromeFrameToUserAgentValue Review URL: http://codereview.chromium.org/6246088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73830 0039d316-1c4b-4281-b951-d872f2087c98
* Add support for IE9 to user-level installations of Chrome Frame.robertshield@chromium.org2011-02-043-13/+164
| | | | | | | | | | BUG=70274 TEST=Install user-level Chrome Frame without admin privileges on a system with IE9. Observe CF being loaded in IE. Review URL: http://codereview.chromium.org/6246040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73721 0039d316-1c4b-4281-b951-d872f2087c98