summaryrefslogtreecommitdiffstats
path: root/chrome/common
Commit message (Collapse)AuthorAgeFilesLines
* Read and Write SSL3, TLS1 and Cert revocation SSL preferencesrtenneti@chromium.org2011-04-062-13/+9
| | | | | | | | | | | from local_state on Windows and Mac. BUG=76551 TEST=testing SSL preferences with options UI R=wtc Review URL: http://codereview.chromium.org/6693077 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80635 0039d316-1c4b-4281-b951-d872f2087c98
* Remove extension automation support that was used only by CEEE.joi@chromium.org2011-04-061-25/+25
| | | | | | | | | BUG=none TEST=all automated tests pass Review URL: http://codereview.chromium.org/6756044 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80626 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Detect browser crashes on shutdown in UI tests. phajdan.jr@chromium.org2011-04-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously the automation framework could miss a browser crash during shutdown on POSIX (on Windows there is crash_service.exe that should catch all crashes). This change makes the automation framework avoid losing information about the browser process' exit status (CrashAwareSleep), and fixes a bug in base::WaitForExitCodeWithTimeout (which on POSIX never reported the process has been signaled). Finally, it makes the automation framework use WaitForExitCodeWithTimeout instead of WaitForSingleProcess. This way we can get the exit status information in an accurate and cross-platform way. To avoid trying to close the same process handle twice (it's only an issue on Windows) I've changed WaitForExitCodeWithTimeout not to close the passed handle. It's only used in few places and I think this CL fixes all of them. I've tested this change locally on Mac with a UI test that SIGKILLs the browser. Before this change the test passed (it shouldn't), and after this change the test failed with an information that the browser has not exited cleanly. BUG=56644 Review URL: http://codereview.chromium.org/6689014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80608 0039d316-1c4b-4281-b951-d872f2087c98
* Implement login and confirmation UI for enterprise enrollment screenmnissler@chromium.org2011-04-062-0/+5
| | | | | | | | | | | | This adds a WebUI-based flow to the enterprise enrollment screen that first prompts for credentials and then shows a confirmation screen. BUG=chromium-os:13277 TEST=manual Review URL: http://codereview.chromium.org/6778014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80597 0039d316-1c4b-4281-b951-d872f2087c98
* Use https for all the help center URLs. It's actively supported. And it lookscevans@chromium.org2011-04-051-13/+13
| | | | | | | | a little more professional to land on https when "learning more" about e.g. our privacy stance, or the password manager. Review URL: http://codereview.chromium.org/6735068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80550 0039d316-1c4b-4281-b951-d872f2087c98
* Add a webstore install method that lets us prompt the user before downloading.asargent@chromium.org2011-04-055-7/+80
| | | | | | | | | | | | | | | | | | | A while back we decided to minimize friction by showing extension/app permissions inline in the webstore, and let installs done via the private webstore API skip the regular extension installation confirmation that happens after downloading and unpacking the .crx file. We've reconsidered this and are now adding a new private install method that lets us go back to having the client display the confirmation dialog, but do it before downloading the .crx file. The webstore just needs to pass the manifest and icon, and then after downloading the .crx we make sure the unpacked extension's manifest matches what we had prompted with. BUG=75821 TEST=(Existing tests should pass; new functionality requires chrome web store server side changes to test) Review URL: http://codereview.chromium.org/6794010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80536 0039d316-1c4b-4281-b951-d872f2087c98
* Adding more dlls to the blacklist.cpu@chromium.org2011-04-051-3/+8
| | | | | | | | | | | | | -Trustware Rapport -Realplayer -Panda AV BUG=78504 TEST=see bug TBR=eroman Review URL: http://codereview.chromium.org/6720057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80533 0039d316-1c4b-4281-b951-d872f2087c98
* Video-related changes:kathyw@chromium.org2011-04-056-12/+18
| | | | | | | | | | | - API index now includes a video instead of just linking to it - All other videos use the new embedding code BUG=none TEST=videos in these pages play correctly Review URL: http://codereview.chromium.org/6793027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80518 0039d316-1c4b-4281-b951-d872f2087c98
* net: remove forced renegotiation checksagl@chromium.org2011-04-052-7/+0
| | | | | | | | | | | | | | | We lost this battle. We had to step back from requirement the renegotiation extension, even on sites which we know support it, because of the number of MITM proxies. Since there doesn't seem to be any way forward, this change removes the code. BUG=55410 TEST=compiles Review URL: http://codereview.chromium.org/6792032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80513 0039d316-1c4b-4281-b951-d872f2087c98
* Link to a different place for the "blocked" plug-in infobar vs. the out-of-datecevans@chromium.org2011-04-052-2/+8
| | | | | | | | | plug-in infobar. We'll get the new help text up imminently. BUG=76737 Review URL: http://codereview.chromium.org/6693087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80510 0039d316-1c4b-4281-b951-d872f2087c98
* Rename Extension::KILLBIT to EXTERNAL_EXTENSION_UNINSTALLED.aa@chromium.org2011-04-051-2/+3
| | | | | | | | | It would be good to also rename "external extension" to something else, but this is a quick improvement. TBR=mpcomplete@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80493 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 80472 - GTTF: Detect browser crashes on shutdown in UI ↵phajdan.jr@chromium.org2011-04-051-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests.Previously the automation framework could miss a browsercrash during shutdown on POSIX (on Windows there iscrash_service.exe that should catch all crashes).This change makes the automation framework avoid losinginformation about the browser process' exit status(CrashAwareSleep), and fixes a bug in base::WaitForExitCodeWithTimeout(which on POSIX never reported the process has been signaled).Finally, it makes the automation framework use WaitForExitCodeWithTimeoutinstead of WaitForSingleProcess. This way we can get the exit statusinformation in an accurate and cross-platform way.To avoid trying to close the same process handle twice (it's only an issue on Windows) I've changed WaitForExitCodeWithTimeout not to close the passed handle. It's only used in few places and I think this CL fixes all of them.I've tested this change locally on Mac with a UI test that SIGKILLs the browser.Before this change the test passed (it shouldn't), and after this changethe test failed with an information that the browser has not exited cleanly.BUG=56644Review URL: http://codereview.chromium.org/6689014 TBR=phajdan.jr@chromium.org [----------] 1 test from MultipartResponseUITest [ RUN ] MultipartResponseUITest.SingleVisit [3538:3538:0405/104633:11326126024137:ERROR:process_util_posix.cc(108)] Received signal 11 base::debug::StackTrace::StackTrace() [0xcd194a] base::(anonymous namespace)::StackDumpSignalHandler() [0xcb0e5a] 0x2b835e391100 AutomationProxy::GetBrowserWindowCount() [0x2055e86] ProxyLauncher::IsBrowserRunning() [0xc3f1a2] ProxyLauncher::QuitBrowser() [0xc454b3] ProxyLauncher::CloseBrowserAndServer() [0xc472d6] UITestBase::TearDown() [0xc50d54] UITest::TearDown() [0xc51260] testing::TestInfo::Run() [0xe8de78] testing::TestCase::Run() [0xe8df35] testing::internal::UnitTestImpl::RunAllTests() [0xe8f6e7] testing::internal::HandleSehExceptionsInMethodIfSupported<>() [0xe804d5] testing::internal::HandleExceptionsInMethodIfSupported<>() [0xe8ba92] testing::UnitTest::Run() [0xe8badb] base::TestSuite::Run() [0x212c26d] main [0xc48e41] 0x2b835e37d1c4 0x42fec9 Review URL: http://codereview.chromium.org/6794056 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80488 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Detect browser crashes on shutdown in UI tests.phajdan.jr@chromium.org2011-04-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously the automation framework could miss a browser crash during shutdown on POSIX (on Windows there is crash_service.exe that should catch all crashes). This change makes the automation framework avoid losing information about the browser process' exit status (CrashAwareSleep), and fixes a bug in base::WaitForExitCodeWithTimeout (which on POSIX never reported the process has been signaled). Finally, it makes the automation framework use WaitForExitCodeWithTimeout instead of WaitForSingleProcess. This way we can get the exit status information in an accurate and cross-platform way. To avoid trying to close the same process handle twice (it's only an issue on Windows) I've changed WaitForExitCodeWithTimeout not to close the passed handle. It's only used in few places and I think this CL fixes all of them. I've tested this change locally on Mac with a UI test that SIGKILLs the browser. Before this change the test passed (it shouldn't), and after this change the test failed with an information that the browser has not exited cleanly. BUG=56644 Review URL: http://codereview.chromium.org/6689014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80472 0039d316-1c4b-4281-b951-d872f2087c98
* Move dispatching and sending of the last extension specific messages out of ↵jam@chromium.org2011-04-051-1/+1
| | | | | | | | TabContents and RenderView.I added a TabContents::Registrar helper class for allowing classing to temporarily observe a TabContents. This allows them to easily and safetly filter IPC messages. I used this for ExecuteCodeInTabFunction. Review URL: http://codereview.chromium.org/6794035 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80468 0039d316-1c4b-4281-b951-d872f2087c98
* Update extension docs.bauerb@chromium.org2011-04-054-5/+16
| | | | | | | | | | | Fix a typo in the API description as well, while I'm at it. BUG=none TEST=none Review URL: http://codereview.chromium.org/6793037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80436 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 80318 - Detach the PromoResourceService and WebResourceService from ↵cmp@chromium.org2011-04-042-11/+21
| | | | | | | | | | | | | | | | | | | | | | the Profile; have them store web resource data in local state instead. We don't need multiple services for different Profiles; instead, there is a single service that captures data in local_state. The only preference stored in the Profile about the promo will be a bool indicating whether it's been closed or not, which will now be set outside the service. Reviewers: arv for general changes to PromoResourceService, & unittest. erg for pulling the service out of the Profile and serving it up as a Singleton. zmo for the changes I made to gpu_data_manager. jstritar FYI, for changes to the PromoResourceService. BUG=77155 TEST=promo resource service unittests. Review URL: http://codereview.chromium.org/6736028 TBR=mirandac@chromium.org Review URL: http://codereview.chromium.org/6677140 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80369 0039d316-1c4b-4281-b951-d872f2087c98
* iwyu: Cleanup in the following files:jhawkins@chromium.org2011-04-042-2/+4
| | | | | | | | | | | | | | | | | | | | | * at_exit.cc * atomicops.h * base_paths.h * bzip2_error_handler.cc * callback_internal.h * command_line.cc * cpu.cc * environment.h * event_recorder.cc * file_descriptor_shuffle.cc * file_path.cc BUG=none TEST=none Review URL: http://codereview.chromium.org/6759017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80340 0039d316-1c4b-4281-b951-d872f2087c98
* `extension.isAllowed???Access` sampleskurrik@chromium.org2011-04-048-0/+115
| | | | | | | | | | | | | | | Sample extension for the `extension.isAllowed???Access` APIs, and adding the functionality to the proxy sample extension. BUG=76494,74694 TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80329 Review URL: http://codereview.chromium.org/6677108 Patch from Mike West <mkwst@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80331 0039d316-1c4b-4281-b951-d872f2087c98
* `extension.isAllowed???Access` sampleskurrik@chromium.org2011-04-047-456/+561
| | | | | | | | | | | | | Sample extension for the `extension.isAllowed???Access` APIs, and adding the functionality to the proxy sample extension. BUG=76494,74694 TEST=None Review URL: http://codereview.chromium.org/6677108 Patch from Mike West <mkwst@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80329 0039d316-1c4b-4281-b951-d872f2087c98
* Add a WebUI implementation for HttpAuth dialog. (On ChromeOS.)olege@google.com2011-04-042-0/+4
| | | | | | | The only difference from http://codereview.chromium.org/6609019/ is LoginHandlerHtml::FreeAndReleas in login_prompt_ui.cc. Review URL: http://codereview.chromium.org/6794009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80325 0039d316-1c4b-4281-b951-d872f2087c98
* Use ResourceBundle for NativeThemeLinux/Chromeos resource images.xiyuan@chromium.org2011-04-042-36/+0
| | | | | | | | | | | | | | | - Clean up gfx NativeThemeLinux/Chromeos code to use ResourceBundle. This should also fix valgrind failures in issue 77712 and 77721. - Remove no longer needed gfx_module and gfx_resource_provider files. - Update linux/chromeos test_shell and DumpRenderTree to use ResourceBundle as well. BUG=77712,77721 TEST=Build should pass and valgrind failure in issue 77712 and 77721 should be gone. Review URL: http://codereview.chromium.org/6773021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80319 0039d316-1c4b-4281-b951-d872f2087c98
* Detach the PromoResourceService and WebResourceService from the Profile; ↵mirandac@chromium.org2011-04-042-21/+11
| | | | | | | | | | | | | | | | | | | have them store web resource data in local state instead. We don't need multiple services for different Profiles; instead, there is a single service that captures data in local_state. The only preference stored in the Profile about the promo will be a bool indicating whether it's been closed or not, which will now be set outside the service. Reviewers: arv for general changes to PromoResourceService, & unittest. erg for pulling the service out of the Profile and serving it up as a Singleton. zmo for the changes I made to gpu_data_manager. jstritar FYI, for changes to the PromoResourceService. BUG=77155 TEST=promo resource service unittests. Review URL: http://codereview.chromium.org/6736028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80318 0039d316-1c4b-4281-b951-d872f2087c98
* Added summary page and static content for WebInspector modules.caseq@google.com2011-04-0412-13/+1004
| | | | | | | | | BUG=56660 TEST=experimental.webInspector.html exists, other experimental.webInspector.* pages have static text that refers to it. Review URL: http://codereview.chromium.org/6665040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80313 0039d316-1c4b-4281-b951-d872f2087c98
* Remove unneeded headers from l10n_util.mirandac@chromium.org2011-04-041-0/+1
| | | | | | Review URL: http://codereview.chromium.org/6793012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80307 0039d316-1c4b-4281-b951-d872f2087c98
* Fix a few more compile issues when using GCC 4.5rsleevi@chromium.org2011-04-031-1/+1
| | | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6735022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80277 0039d316-1c4b-4281-b951-d872f2087c98
* Make <all_urls> and file:///* in permissions trigger "Allow file access"mihaip@chromium.org2011-04-016-31/+138
| | | | | | | | | | | | | | | | | | | Move ExtensionWantsFileAccess static functions to Extension::wants_file_access which is set as part of the Extension initialization process. When file:/// access is granted/revoked, instead of storing that in a bit on the UserScript (which didn't help with extension host permissions), we use that to filter down the list of valid schemes for permissions/content script match matterns. That way we don't have to manually exclude file:///* patterns at various call sites (e.g. in UserScriptSlave). BUG=76705 TEST=unit_tests R=aa@chromium.org Review URL: http://codereview.chromium.org/6772022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80213 0039d316-1c4b-4281-b951-d872f2087c98
* Fixes up the race condition that exists with deleting a file vs watching it.dmaclach@chromium.org2011-04-013-26/+49
| | | | | | | | | | | | | | The tests created a file and attempted to hook a watcher on it on a separate thread but it was deleting it before the thread had a chance to watch it. BUG=77217, 77064, 69641, 76987 TEST=BUILD Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79307 Review URL: http://codereview.chromium.org/6676118 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80205 0039d316-1c4b-4281-b951-d872f2087c98
* kqueue implementation of FilePathWatcher on Mac.dmaclach@chromium.org2011-04-012-6/+1
| | | | | | | | | | | BUG=54822,77391,77217,77064,69641 TEST=BUILD Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=80101 Review URL: http://codereview.chromium.org/6731064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80196 0039d316-1c4b-4281-b951-d872f2087c98
* Fix out-of-process pepper plugins when sandbox is on.piman@google.com2011-04-011-1/+1
| | | | | | | | | | | | Also make --ppapi-flash-in-process accessible and useful on Chrome OS. BUG=none TEST=check in about:flags on Chrome OS, go to youtube on Chrome OS, with or without the flag. Review URL: http://codereview.chromium.org/6764003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80187 0039d316-1c4b-4281-b951-d872f2087c98
* Minor doc fixes.kathyw@chromium.org2011-04-016-8/+6
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6731052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80158 0039d316-1c4b-4281-b951-d872f2087c98
* Extensions: pass domain and command to the debugger events.pfeldman@chromium.org2011-04-012-6/+154
| | | | | | Review URL: http://codereview.chromium.org/6689012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80154 0039d316-1c4b-4281-b951-d872f2087c98
* Unreviewed build fix, removed executable permission from ↵caseq@google.com2011-04-011-0/+0
| | | | | | | | | | permission_warnings.html BUG=none TEST=successful linux build git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80143 0039d316-1c4b-4281-b951-d872f2087c98
* Issue IDS_EXTENSION_PROMPT_WARNING_ALL_HOSTS permission warning for DevTools ↵caseq@google.com2011-04-014-6/+16
| | | | | | | | | | | extensions. BUG=none TEST=Install an extension with devtools_page field in manifest, observe warning that it may access data on all sites. Review URL: http://codereview.chromium.org/6698043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80141 0039d316-1c4b-4281-b951-d872f2087c98
* Exposes home provider via chromeosInfoPrivate API.altimofeev@chromium.org2011-04-011-1/+2
| | | | | | | | | | | Main testing will be done, when flimflam part is ready. BUG=chromium-os:13505 TEST=broser_tests Review URL: http://codereview.chromium.org/6771009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80130 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on client-side phishing detection for UMA users with SafeBrowsing enabled.bryner@chromium.org2011-04-012-8/+8
| | | | | | | | | | | BUG=none TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=79931 Review URL: http://codereview.chromium.org/6708059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80120 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 80101 - kqueue implementation of FilePathWatcher on Mac.dmaclach@chromium.org2011-04-012-1/+6
| | | | | | | | | | | | BUG=54822,77391,77217,77064,69641 TEST=BUILD Review URL: http://codereview.chromium.org/6731064 TBR=dmaclach@chromium.org Review URL: http://codereview.chromium.org/6689004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80113 0039d316-1c4b-4281-b951-d872f2087c98
* kqueue implementation of FilePathWatcher on Mac.dmaclach@chromium.org2011-03-312-6/+1
| | | | | | | | | BUG=54822,77391,77217,77064,69641 TEST=BUILD Review URL: http://codereview.chromium.org/6731064 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80101 0039d316-1c4b-4281-b951-d872f2087c98
* Default Pepper Flash to running out-of-process, with a command-line option tobrettw@chromium.org2011-03-313-2/+11
| | | | | | | | | | force it to run in-process. TEST=manual BUG=none Review URL: http://codereview.chromium.org/6780026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80071 0039d316-1c4b-4281-b951-d872f2087c98
* Remove kCookiePromptExpanded from the list of synced preferencesrsimha@chromium.org2011-03-312-4/+0
| | | | | | | | | | | | | | | | | kCookiePromptExpanded was a chrome preference that indicated whether the cookies prompt in the settings dialog was expanded or not. This preference is no longer being used in the new settings UI, and therefore, it makes no sense to continue syncing it. This patch removes the preference, and the (disabled) sync test case that was checking to see if it was being synced. BUG=71510 TEST=sync_integration_tests Review URL: http://codereview.chromium.org/6783026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80047 0039d316-1c4b-4281-b951-d872f2087c98
* Moved URLRequestContextGetter to net/ so it can be used by projects such as ↵sanjeevr@chromium.org2011-03-319-122/+21
| | | | | | | | | | jingle. BUG=None TEST=Build. Review URL: http://codereview.chromium.org/6778025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80033 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 80026 - Support for fileBrowserPrivate extension file selection apis.achuith@chromium.org2011-03-313-80/+12
| | | | | | | | | | | BUG=chromium-os:13045 TEST=NONE Review URL: http://codereview.chromium.org/6712036 TBR=achuith@chromium.org Review URL: http://codereview.chromium.org/6737034 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80032 0039d316-1c4b-4281-b951-d872f2087c98
* Support for fileBrowserPrivate extension file selection apis.achuith@chromium.org2011-03-313-12/+80
| | | | | | | | BUG=chromium-os:13045 TEST=NONE Review URL: http://codereview.chromium.org/6712036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80026 0039d316-1c4b-4281-b951-d872f2087c98
* Revert CL 79685.olege@google.com2011-03-312-4/+0
| | | | | | | TBR=xiyuan Review URL: http://codereview.chromium.org/6728026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80019 0039d316-1c4b-4281-b951-d872f2087c98
* Cleanup: Remove sqlite_compiled_statement.[cc,h] API.tfarina@chromium.org2011-03-312-223/+0
| | | | | | | | | | | | This is not used by anyone anymore and it shouldn't! BUG=77634 TEST=None R=brettw@chromium.org Review URL: http://codereview.chromium.org/6737014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79994 0039d316-1c4b-4281-b951-d872f2087c98
* Initial integration of DOM login screen with existing infrastructure.rharrison@chromium.org2011-03-312-0/+4
| | | | | | | | | | | | | | | | | | | | This CL integrates the work that has been done on the DOM based login screen with the work on refactoring the login infrastructure. This is a very preliminary CL and is intended to review the logistics of integration, so there are many things with the DOM screen itself are broken. The intent is to address any issues with the seam between the DOM login code and existing infrastructure. Issues related to functionality of the DOM login screen or integration with chromiumos will be addressed in following CLs. This CL is only included in touchui==1 and chromeos==1 builds and NOT the default login screen. This CL has been tested on the desktop by adding --login-manger --login_screen=login --dom-login --stub-cros to cause chromium to come up with the login screen.You may need to use --login-profile also. It is known to be broken in chromiumos, due to integration issues with the window manager. This is currently being investigated. I have added in a command line flag "--dom-login" that allows for using the DOM based login screen instead of the views based one. This screen is not very functional at the moment. The WebUI handling layer needed to be rewritten, so we are no longer using AuthenticatorFacade. There is an issue with commands not making it down to the login infrastucture layer at the moment, so shutting down and logging in off the record hang. The support for chrome://login-container has been removed, because the login page's DOM no longer workers as a standalone window since it needs the login infrastructure. In addition you can access the login screen for development on the desktop as mentioned before, so it isn't needed. Patch from Ryan Harrison <rharrison@chromium.org> BUG=none TEST=manual Review URL: http://codereview.chromium.org/6729018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79993 0039d316-1c4b-4281-b951-d872f2087c98
* Disable uninstalling and editing permissions for policy controlled extensions.pastarmovj@chromium.org2011-03-313-0/+70
| | | | | | | | | | | Continuation of the work on Jochen's CL 4115004. BUG=63599 TEST=unit_tests: ExtensionServiceTest suite. Review URL: http://codereview.chromium.org/6680001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79982 0039d316-1c4b-4281-b951-d872f2087c98
* Revert "Turn on client-side phishing detection for UMA users with ↵satorux@chromium.org2011-03-312-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SafeBrowsing enabled." This reverts commit e41059f0bef15b2f5298c225dfab6f6929be6ddc. The change broke all of browser tests on ChromiumOS dbg bot: Example: http://build.chromium.org/p/tryserver.chromium/builders/linux_chromeos/builds/5925/steps/browser_tests/logs/SwitchLanguage [20793:20793:0330/233023:13949359567:FATAL:pref_service.cc(304)] Check failed: false. Trying to read an unregistered pref: user_experience_metrics.reporting_enabled Backtrace: base::debug::StackTrace::StackTrace() [0x130bc1d] logging::LogMessage::~LogMessage() [0x131e20d] PrefService::GetBoolean() [0xa72628] SafeBrowsingService::Start() [0xae78a2] SafeBrowsingService::Initialize() [0xae7efe] ResourceDispatcherHost::Initialize() [0x2fb4ca7] BrowserProcessImpl::CreateResourceDispatcherHost() [0xd98d0b] BrowserProcessImpl::resource_dispatcher_host() [0xd98dd1] ExtensionService::Init() [0x9085e6] ProfileImpl::InitExtensions() [0xf646ed] ProfileManager::AddProfile() [0xa9151a] ProfileManager::GetProfile() [0xa916c1] ProfileManager::GetDefaultProfile() [0xa91d26] (anonymous namespace)::CreateProfile() [0x11a37d9] BrowserMain() [0x11a69e5] InProcessBrowserTest::SetUp() [0x129565f] testing::internal::HandleSehExceptionsInMethodIfSupported<>() [0x146634b] testing::internal::HandleExceptionsInMethodIfSupported<>() [0x146daf8] testing::Test::Run() [0x1460af9] testing::TestInfo::Run() [0x14644c0] testing::TestCase::Run() [0x1464613] testing::internal::UnitTestImpl::RunAllTests() [0x1465168] testing::internal::HandleSehExceptionsInMethodIfSupported<>() [0x1466841] testing::internal::HandleExceptionsInMethodIfSupported<>() [0x146d952] testing::UnitTest::Run() [0x145de1b] base::TestSuite::Run() [0x13922b2] main [0x71f869] 0x2b6ae16a91 TBR=bryner BUG=chromium-os:13699 TEST=ran safe_browsing_tests Review URL: http://codereview.chromium.org/6737023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79969 0039d316-1c4b-4281-b951-d872f2087c98
* AllowOutdatedPlugins policy.joaodasilva@chromium.org2011-03-313-1/+13
| | | | | | | | | | BUG=74435 TEST=unit_tests, set the AllowOutdatedPlugins policy and open a page running an outdated plugin. Review URL: http://codereview.chromium.org/6676113 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79964 0039d316-1c4b-4281-b951-d872f2087c98
* Turn on client-side phishing detection for UMA users with SafeBrowsing enabled.bryner@chromium.org2011-03-312-8/+8
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/6708059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79931 0039d316-1c4b-4281-b951-d872f2087c98
* Remove "permissions" from sample code, so copy-pasters will be less likely ↵kathyw@chromium.org2011-03-302-14/+10
| | | | | | | | | | to ask for permissions they don't need. BUG=77440 TEST=No "permissions" string in http://code.google.com/chrome/extensions/apps.html Review URL: http://codereview.chromium.org/6670092 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79911 0039d316-1c4b-4281-b951-d872f2087c98