summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/crx_installer.cc
Commit message (Collapse)AuthorAgeFilesLines
* Update a bunch of files to the new location of browser_thread.h jam@chromium.org2011-03-011-1/+1
| | | | | | | TBR=avi Review URL: http://codereview.chromium.org/6591065 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76387 0039d316-1c4b-4281-b951-d872f2087c98
* Move l10n_util to ui/baseben@chromium.org2011-01-211-1/+1
| | | | | | | | | BUG=none TEST=none TBR=brettw git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72227 0039d316-1c4b-4281-b951-d872f2087c98
* Move ResourceBundle, DataPack to ui/baseben@chromium.org2011-01-201-1/+1
| | | | | | | | | | BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/6263008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72038 0039d316-1c4b-4281-b951-d872f2087c98
* Fix autoupdate for hosted apps.asargent@chromium.org2011-01-191-1/+2
| | | | | | | | | | | | The problem is that CrxInstaller wasn't considering updates when looking for previously installed apps with overlapping extents. BUG=68872 TEST=Steps outlined in bug report. Review URL: http://codereview.chromium.org/6292007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71818 0039d316-1c4b-4281-b951-d872f2087c98
* Fail gracefully if profile Temp dir can not be accessed.skerner@chromium.org2011-01-191-10/+1
| | | | | | | | | BUG=60634, 67627 TEST=Manually interfere with Temp directory creation, see that expected failures happen. Review URL: http://codereview.chromium.org/6297003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@71788 0039d316-1c4b-4281-b951-d872f2087c98
* Move base/thread.h to base/threading, fix up callers to use the new location.brettw@chromium.org2011-01-011-1/+1
| | | | | | | | TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/6028009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70345 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ExtensionsService to ExtensionService.tfarina@chromium.org2010-12-141-2/+2
| | | | | | | | | BUG=61409 TEST=trybots Review URL: http://codereview.chromium.org/5730004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69117 0039d316-1c4b-4281-b951-d872f2087c98
* Fix bug where icon is not displayed in extension install bubblesaa@chromium.org2010-12-131-2/+2
| | | | | | | | | | | | when installed from store. BUG=65346 TEST=Install any extension from the web store. Should see icon in install success bubble. Review URL: http://codereview.chromium.org/5690004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69060 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove needed #includes for profile.h.thestig@chromium.org2010-12-101-1/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/5682007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68884 0039d316-1c4b-4281-b951-d872f2087c98
* This is a continuation of http://codereview.chromium.org/5519016/, adds a ↵satish@chromium.org2010-12-091-4/+7
| | | | | | | | | | | | | new GetInstance() method for remaining files with singleton classes under chrome/browser. For types declared and used within the same .cc file, I changed them over to LazyInstance<T>. BUG=65298 TEST=all existing tests should continue to pass. Review URL: http://codereview.chromium.org/5711001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68739 0039d316-1c4b-4281-b951-d872f2087c98
* Move:ben@chromium.org2010-12-021-1/+1
| | | | | | | | | | | | | | | file_path_watcher into subdir profile* into profiles/ subdir login* into ui/login visitedlink* into subdir BUG=none TEST=none TBR=brettw Review URL: http://codereview.chromium.org/5606002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68069 0039d316-1c4b-4281-b951-d872f2087c98
* Track permissions granted to extensions in prefsjstritar@chromium.org2010-11-301-2/+1
| | | | | | | | | | | | | | | | | | Adds a section to the extension preferences to store the recognized permissions that the user has granted the extension. Ignores unknown permissions when installing extensions. Disables extension and prompts user to re-enable when unknown permissions become recognized (e.g., through browser upgrade). Allows extensions to remove a permission in one version, then add them back in the next without prompting the user. BUG=42742 TEST=ExtensionsServiceTest, ExtensionPrefsGrantedPermissions, ExtensionTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67500 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67544 Review URL: http://codereview.chromium.org/4687005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67616 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 67544 - Track permissions granted to extensions in prefsarv@chromium.org2010-11-291-1/+2
| | | | | | | | | | | | | | | | | | | | Adds a section to the extension preferences to store the recognized permissions that the user has granted the extension. Ignores unknown permissions when installing extensions. Disables extension and prompts user to re-enable when unknown permissions become recognized (e.g., through browser upgrade). Allows extensions to remove a permission in one version, then add them back in the next without prompting the user. BUG=42742 TEST=ExtensionsServiceTest, ExtensionPrefsGrantedPermissions, ExtensionTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67500 Review URL: http://codereview.chromium.org/4687005 TBR=jstritar@chromium.org Review URL: http://codereview.chromium.org/5259005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67557 0039d316-1c4b-4281-b951-d872f2087c98
* Track permissions granted to extensions in prefsjstritar@chromium.org2010-11-291-2/+1
| | | | | | | | | | | | | | | | Adds a section to the extension preferences to store the recognized permissions that the user has granted the extension. Ignores unknown permissions when installing extensions. Disables extension and prompts user to re-enable when unknown permissions become recognized (e.g., through browser upgrade). Allows extensions to remove a permission in one version, then add them back in the next without prompting the user. BUG=42742 TEST=ExtensionsServiceTest, ExtensionPrefsGrantedPermissions, ExtensionTest Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67500 Review URL: http://codereview.chromium.org/4687005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67544 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 67500 - Adds a section to the extension preferences to store the ↵jstritar@chromium.org2010-11-291-1/+2
| | | | | | | | | | | | | | | | | | recognized permissions that the user has granted the extension. Ignores unknown permissions when installing extensions. Disables extension and prompts user to re-enable when unknown permissions become recognized (e.g., through browser upgrade). Allows extensions to remove a permission in one version, then add them back in the next without prompting the user. BUG=42742 TEST=ExtensionsServiceTest, ExtensionPrefsGrantedPermissions, ExtensionTest Review URL: http://codereview.chromium.org/4687005 TBR=jstritar@chromium.org Review URL: http://codereview.chromium.org/5286009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67501 0039d316-1c4b-4281-b951-d872f2087c98
* Adds a section to the extension preferences to store the recognized ↵jstritar@chromium.org2010-11-281-2/+1
| | | | | | | | | | | | | | | permissions that the user has granted the extension. Ignores unknown permissions when installing extensions. Disables extension and prompts user to re-enable when unknown permissions become recognized (e.g., through browser upgrade). Allows extensions to remove a permission in one version, then add them back in the next without prompting the user. BUG=42742 TEST=ExtensionsServiceTest, ExtensionPrefsGrantedPermissions, ExtensionTest Review URL: http://codereview.chromium.org/4687005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67500 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Revert "Finish wiring up chrome.app.install().""aa@chromium.org2010-11-261-5/+29
| | | | | | | | This reverts commit 89f4de523e9c916950f72c264cdefed662849124. TBR=aa@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67474 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Finish wiring up chrome.app.install()."aa@chromium.org2010-11-231-29/+5
| | | | | | | | This reverts commit c0ddb28cf383462655b52aa79396ea695c0ffb3c. TBR=aa@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67182 0039d316-1c4b-4281-b951-d872f2087c98
* Finish wiring up chrome.app.install().aa@chromium.org2010-11-231-5/+29
| | | | | | | | | | | | There is a UI issue (noted in the code) that I need to figure out before I can turn it on by default. BUG=49233 TEST=n/a Review URL: http://codereview.chromium.org/4995001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67163 0039d316-1c4b-4281-b951-d872f2087c98
* Allow an extension to dynamically set extra data in its update URL, in orderrogerta@chromium.org2010-11-121-4/+1
| | | | | | | | | | | | to communicate dynamic information to its update server if needed. BUG=none TEST=Make sure that existing extensions that do no set any extra data are not adversely affected. Review URL: http://codereview.chromium.org/4725002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65946 0039d316-1c4b-4281-b951-d872f2087c98
* Split the private webstore install API into two parts.asargent@chromium.org2010-11-101-15/+15
| | | | | | | | | | | | | | | | | | The first part, beginInstall, must be called during a user gesture. The second part should supply a matching id and actually starts the download and install process. BUG=61954 TEST=Requires webstore server side changes before it can be fully tested. For now, you can test that visiting the webstore and running something like the following command in the javascript console generates an error: chrome.webstorePrivate.beginInstall("mihcahmgecmbnbcchbopgniflfhgnkff") Review URL: http://codereview.chromium.org/4727001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65722 0039d316-1c4b-4281-b951-d872f2087c98
* Don't whitelist extensions with NPAPI from no-prompt install.asargent@chromium.org2010-11-051-3/+8
| | | | | | | | | | | BUG=61634 TEST=Browse to chrome.google.com/extensions, find an extension id, then open js console and enter chrome.webstorePrivate.install(<id>). The install should not prompt for confirmation, unless the extension uses NPAPI. Review URL: http://codereview.chromium.org/4443001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65212 0039d316-1c4b-4281-b951-d872f2087c98
* Part 3 of immutable Extension refactor.mpcomplete@chromium.org2010-10-291-3/+4
| | | | | | | | | | | | | Make ExtensionsService hold const Extension pointers only. This ensures that extensions can't be modified after they're created, and lets us share them between threads. BUG=56558 TEST=no functional change Review URL: http://codereview.chromium.org/4138006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64517 0039d316-1c4b-4281-b951-d872f2087c98
* Unrevert again r63919: "Part 2 of immutable Extension refactor."mpcomplete@chromium.org2010-10-271-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | (Last landing broke chromeos and chromium linux builder.) I made Extension a refcounted object, and privitized the existing con/destructor and InitFromValue. The only way to get an Extension is to call a factory method. In the next CL, I plan to make the factory method return a const Extension, to guarantee that no one can modify the Extension object after creation. Note: There was a tricky part of this CL because of the difference in semantics between scoped_ptr and scoped_refptr. I had to be careful not to use ptr.release(), since that would result in leaks (an un-Released AddRef). BUG=56558 TEST=no functional change Original Review URL: http://codereview.chromium.org/3982001 TBR=aa Review URL: http://codereview.chromium.org/4119010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@64139 0039d316-1c4b-4281-b951-d872f2087c98
* ThreadRestrictions: disallow blocking IO on the UI threadevan@chromium.org2010-10-271-1/+7
| | | | | | | | | | | | | This patch sets the "disallow IO" flag after the UI thread has started, and then whitelists in the many places where we're accidentally doing IO from the UI thread. (I've filed bugs on all of those cases.) BUG=59847,60630,60641,60211,60634,60643,24163,60825 Review URL: http://codereview.chromium.org/4146004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63986 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 63962 (broke chromeos and chromium linux builder) - Unrevert r63919: ↵thakis@chromium.org2010-10-261-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Part 2 of immutable Extension refactor." I made Extension a refcounted object, and privitized the existing con/destructor and InitFromValue. The only way to get an Extension is to call a factory method. In the next CL, I plan to make the factory method return a const Extension, to guarantee that no one can modify the Extension object after creation. Note: There was a tricky part of this CL because of the difference in semantics between scoped_ptr and scoped_refptr. I had to be careful not to use ptr.release(), since that would result in leaks (an un-Released AddRef). BUG=56558 TEST=no functional change Original Review URL: http://codereview.chromium.org/3982001 TBR=aa Review URL: http://codereview.chromium.org/4186002 TBR=mpcomplete@chromium.org Review URL: http://codereview.chromium.org/4130004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63976 0039d316-1c4b-4281-b951-d872f2087c98
* Unrevert r63919: "Part 2 of immutable Extension refactor."mpcomplete@chromium.org2010-10-261-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | I made Extension a refcounted object, and privitized the existing con/destructor and InitFromValue. The only way to get an Extension is to call a factory method. In the next CL, I plan to make the factory method return a const Extension, to guarantee that no one can modify the Extension object after creation. Note: There was a tricky part of this CL because of the difference in semantics between scoped_ptr and scoped_refptr. I had to be careful not to use ptr.release(), since that would result in leaks (an un-Released AddRef). BUG=56558 TEST=no functional change Original Review URL: http://codereview.chromium.org/3982001 TBR=aa Review URL: http://codereview.chromium.org/4186002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63962 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r63919 "Part 2 of immutable Extension refactor."mpcomplete@chromium.org2010-10-261-7/+7
| | | | | | | | | | | | Compile failure on Linux x64. BUG=56558 TEST=no functional change TBR=aa Review URL: http://codereview.chromium.org/4156002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63925 0039d316-1c4b-4281-b951-d872f2087c98
* Part 2 of immutable Extension refactor.mpcomplete@chromium.org2010-10-261-7/+7
| | | | | | | | | | | | | | | | | | | | I made Extension a refcounted object, and privitized the existing con/destructor and InitFromValue. The only way to get an Extension is to call a factory method. In the next CL, I plan to make the factory method return a const Extension, to guarantee that no one can modify the Extension object after creation. Note: There was a tricky part of this CL because of the difference in semantics between scoped_ptr and scoped_refptr. I had to be careful not to use ptr.release(), since that would result in leaks (an un-Released AddRef). BUG=56558 TEST=no functional change Review URL: http://codereview.chromium.org/3982001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63919 0039d316-1c4b-4281-b951-d872f2087c98
* Convert LOG(INFO) to VLOG(1) - chrome/browser/extensions/.pkasting@chromium.org2010-10-221-2/+2
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/4003001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63534 0039d316-1c4b-4281-b951-d872f2087c98
* Move the rest of the Extension data into either StaticData or RuntimeDatampcomplete@chromium.org2010-10-181-3/+2
| | | | | | | | | | | | | | subclasses. The ultimate goal is to move StaticData back up to the top level, so that Extension itself will be a thread-safe immutable object. I plan on making Extension refcounted, and const everywhere that it doesn't need to be initialized. RuntimeData will be the only thing mutable, and then only on the UI thread. BUG=56550 TEST=extensions still work Review URL: http://codereview.chromium.org/3757001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62957 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromeThread to BrowserThread Part19:tfarina@chromium.org2010-10-121-1/+1
| | | | | | | | | | | - Include browser_thread.h instead of chrome_thread.h in more 65 files. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3717003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62226 0039d316-1c4b-4281-b951-d872f2087c98
* Rename ChromeThread to BrowserThread Part10:tfarina@chromium.org2010-10-091-28/+28
| | | | | | | | | | | - Rename entries under download and extensions. BUG=56926 TEST=trybots Review URL: http://codereview.chromium.org/3685001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62081 0039d316-1c4b-4281-b951-d872f2087c98
* fix to allow internal installation (sync, default) to bypass origin checkserikkay@chromium.org2010-10-081-17/+20
| | | | | | | | | | | also move gallery origin check ahead of hosted origin check for correctness BUG=45542 TEST=sync an app Review URL: http://codereview.chromium.org/3592018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62033 0039d316-1c4b-4281-b951-d872f2087c98
* restrict install of gallery-hosted apps from the galleryerikkay@chromium.org2010-10-081-46/+76
| | | | | | | | | | | also, rename "Get More Apps" to "Web Store" per UI review BUG=45542 TEST=download an app from the gallery (right click) then drag it on to the browser to install (it should fail) Review URL: http://codereview.chromium.org/3550021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61959 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Initialize data members in constructor.jhawkins@chromium.org2010-10-051-0/+1
| | | | | | | | | | | | CID=12798, 12835, 12921, 12922, 12923, 13083, 1408, 7026, 7027, 13052, 13058, 8295, 2289, 13026, 13133, 13233, 13184, 13183 BUG=none TEST=none Patch by Kausalya Madhusudhanan <kmadhusu@chromium.org> Review URL: http://codereview.chromium.org/3567011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61448 0039d316-1c4b-4281-b951-d872f2087c98
* extensions: Append base:: in the StringPrintf calls.tfarina@chromium.org2010-09-211-3/+4
| | | | | | | | | | | (Note this is a TODO in string_util.h) BUG=None TEST=trybots Review URL: http://codereview.chromium.org/3415015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60012 0039d316-1c4b-4281-b951-d872f2087c98
* Remove create_app_shortcut param from ↵tfarina@chromium.org2010-09-141-26/+1
| | | | | | | | | | | | | | | ExtensionInstallUI::Delegate::InstallUIProceed. Reason: We don't support shortcut creation from this dialog anymore. (Note: this was a TODO for Aaron). BUG=None TEST=trybots Review URL: http://codereview.chromium.org/3305030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59323 0039d316-1c4b-4281-b951-d872f2087c98
* Implement gallery install APIrafaelw@chromium.org2010-09-091-6/+41
| | | | | | | | | | This patch implements chrome.experimental.management.install() which is only available for use by the web store. Calling with an extensionId, causes the download url to be constructed internally and downloaded and then cause the installation to bypass the normal permissions dialog. BUG=27431,54148 Review URL: http://codereview.chromium.org/3353015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58956 0039d316-1c4b-4281-b951-d872f2087c98
* Add the collapsed 'miniview' to the apps and most visisted sections. Also, ↵aa@chromium.org2010-08-291-1/+1
| | | | | | | | | | fix the bug where the wrench disappears on hover. BUG=53248,52199 Review URL: http://codereview.chromium.org/3236001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57799 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: More extensions cleanup.erg@google.com2010-08-261-0/+1
| | | | | | | | | TEST=compiles BUG=none Review URL: http://codereview.chromium.org/3119052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57594 0039d316-1c4b-4281-b951-d872f2087c98
* Allow update URLs in external_extensions.json.skerner@chromium.org2010-08-191-1/+1
| | | | | | | | | | | Doc updates will follow in another CL. BUG=48117 TEST=ExtensionsServiceTest.(UpdatePendingExternalCrx,UpdatePendingCrxThemeMismatch,ExternalPrefProvider), ExtensionManagmentTest.ExternalUrlUpdate, manual testing. Review URL: http://codereview.chromium.org/3005057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56701 0039d316-1c4b-4281-b951-d872f2087c98
* Implement admin control (by policy) over which extensions the user can ↵finnur@chromium.org2010-08-111-0/+6
| | | | | | | | | | | | | | | | | | install and run. Currently we intercept in two locations: 1) When the user tries to install an extension (includes error message). 2) Every time the browser starts up and the currently installed extensions are loaded (silently skips the extension). I implemented a whitelist and a blacklist approach, calling it a allow/deny list to not clash with the global blacklist we have for extensions. A blacklist of '*' means all extensions are blacklisted. If an extension is on the blacklist it cannot be installed/loaded, unless it also appears on the whitelist. I also fleshed out the LIST_TYPE support for policy values, so that we don't have to use comma separated REG_SZ values for lists and can instead use ADM support for listboxes. BUG=47085 TEST=ExtensionsServiceTest.BlacklistedByPolicyWillNotInstall, ConfigurationPolicyProviderWinTest.TestExtensionInstall* Review URL: http://codereview.chromium.org/3014053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55727 0039d316-1c4b-4281-b951-d872f2087c98
* FBTF: Remove unneeded headers from base/ (part 3)thestig@chromium.org2010-08-061-0/+1
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/3037044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55192 0039d316-1c4b-4281-b951-d872f2087c98
* Fix some issues with extensions:mpcomplete@chromium.org2010-07-201-1/+1
| | | | | | | | | | | | | | | - Default to Allow file permissions for unpacked extensions. - Fix incognito warning display when extensions are reshuffled. - Remove SCHEMES_ALL BUG=48124 BUG=48526 BUG=49243 TEST=no Review URL: http://codereview.chromium.org/3039005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52974 0039d316-1c4b-4281-b951-d872f2087c98
* Add a wildcard scheme and a special 'all_urls' pattern to URLPattern.mpcomplete@chromium.org2010-06-301-1/+1
| | | | | | | | BUG=47179 Review URL: http://codereview.chromium.org/2884008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51295 0039d316-1c4b-4281-b951-d872f2087c98
* Remove download check for web store apps (temporarily).rafaelw@chromium.org2010-06-291-10/+0
| | | | | | | | | | There's still discussion about the design for this, so to minimize breakage on the dev channel, I'm backing the check out temporarily. BUG=47675,45542 Review URL: http://codereview.chromium.org/2815035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51146 0039d316-1c4b-4281-b951-d872f2087c98
* Disallow apps with the wrong content type header.skerner@chromium.org2010-06-251-1/+16
| | | | | | | | | BUG=41290 TEST=manual Review URL: http://codereview.chromium.org/2830017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50855 0039d316-1c4b-4281-b951-d872f2087c98
* Reland r50834aa@chromium.org2010-06-251-9/+19
| | | | | | TBR=tony@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50837 0039d316-1c4b-4281-b951-d872f2087c98
* Revert r50834aa@chromium.org2010-06-251-19/+9
| | | | | | TBR=tony@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50835 0039d316-1c4b-4281-b951-d872f2087c98