summaryrefslogtreecommitdiffstats
path: root/content/browser/site_instance_unittest.cc
Commit message (Collapse)AuthorAgeFilesLines
* Switch ChromeTestSuite to the same convention as ContentTestSuite:phajdan.jr@chromium.org2011-08-271-2/+1
| | | | | | | | | | | | | | | | | the test suite implicitly provides global resources for each test, but they're re-initialized between each test. The performance overhead is negligible. We need that to continue moving tests from unit_tests to content_unittests. Because of shared test fixtures the test suites need to be compatible. BUG=90443 Review URL: http://codereview.chromium.org/7744039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98526 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of static TabContentsView::Create function since the interface is in ↵jam@chromium.org2011-08-241-0/+13
| | | | | | | | | content, but the implementations are in chrome. Instead ask the embedder to create a TabContentsView. BUG=76697 Review URL: http://codereview.chromium.org/7717011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98059 0039d316-1c4b-4281-b951-d872f2087c98
* Reorganize chrome/test, part #9phajdan.jr@chromium.org2011-08-111-1/+1
| | | | | | | | | TBR=jcivelli BUG=90905 Review URL: http://codereview.chromium.org/7616019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@96453 0039d316-1c4b-4281-b951-d872f2087c98
* GTTF: Use a fresh TestingBrowserProcess for each test, part #4phajdan.jr@chromium.org2011-08-031-1/+2
| | | | | | | | | | | For a detailed description see part #1, http://codereview.chromium.org/6478005/ BUG=61062 TEST=unit_tests, possibly more Review URL: http://codereview.chromium.org/7465041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95350 0039d316-1c4b-4281-b951-d872f2087c98
* Move more files from chrome/test to chrome/test/base, part #4phajdan.jr@chromium.org2011-08-011-1/+1
| | | | | | | BUG=90905 Review URL: http://codereview.chromium.org/7544021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94963 0039d316-1c4b-4281-b951-d872f2087c98
* Removal of Profile from content part 1.avi@chromium.org2011-07-271-4/+6
| | | | | | | | | BUG=76788 TEST=no change visible Review URL: http://codereview.chromium.org/7464009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94317 0039d316-1c4b-4281-b951-d872f2087c98
* some cleanup for base/stl_utildilmah@chromium.org2011-07-191-1/+1
| | | | | | | | | | | | | removed unused/irrelevant functions removed irrelevant comments Moved stl_util-inl.h => stl_util.h BUG=None TEST=None Review URL: http://codereview.chromium.org/7342047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@93110 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of the ProfileId. It was added for ceee. I reverted the original ↵jam@chromium.org2011-07-131-67/+0
| | | | | | | | | change, since it led to Profile being used in content unnecessarily. I also removed the extensions usage of it and instead kept a void*. BUG=76788 Review URL: http://codereview.chromium.org/7346024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92382 0039d316-1c4b-4281-b951-d872f2087c98
* Use process-per-app-instance for hosted apps without background permission.creis@chromium.org2011-07-121-0/+5
| | | | | | | | | | | | Also update ExtensionProcessManager to map SiteInstances to extensions, rather than extensions to processes. BUG=87644 TEST=AppApiTest.AppProcessInstances Review URL: http://codereview.chromium.org/7328029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92099 0039d316-1c4b-4281-b951-d872f2087c98
* Make all content client interfaces pure virtual.joi@chromium.org2011-06-291-2/+6
| | | | | | | | | BUG=87332 TEST=existing Review URL: http://codereview.chromium.org/7242016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90910 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of the following dependencies from content:jam@chromium.org2011-06-141-3/+3
| | | | | | | | | | | chrome/common/chrome_constants.h chrome/common/chrome_paths.h chrome/common/logging_chrome.h BUG=76697 Review URL: http://codereview.chromium.org/7104144 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88935 0039d316-1c4b-4281-b951-d872f2087c98
* *Fixup about and chrome scheme URLs in URLFixerUpper::FixupURL.msw@chromium.org2011-06-081-12/+7
| | | | | | | | | | | | | | | | | | | | | | | | *Update AboutSource to use the source_name of each about/chrome page. *Make WillHandleBrowserAboutURL fix up schemes and handle chrome://foo/ -Redirect memory to memory-redirect (wasn't handling chrome://memory/). -Catalog all kChromeUI*Hosts in url_constants.cc -Simplify paths (credits, os-credits, ipc, settings, about/version). -Nix web_ui_util::ChromeURLHostEquals (use scheme & host comparison). -Favor GURL::SchemeIs and url_constants, update & expand tests. -Add and fixup chrome://chrome-urls (the about:about page). -Update special_tabs.py from Nirnimesh's codereview.chromium.org/6995057/. This change was reverted with r88166 for sync_integration_tests failures. These failures are a tangential issue, crbug.com/85294; I'll re-land this soon. BUG=55771 TEST=Access about:, about://, chrome:, chrome:// pages. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=88142 Review URL: http://codereview.chromium.org/7068007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88367 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 88142 to fix sync_integration_tests offline.msw@chromium.org2011-06-071-7/+12
| | | | | | | | | | | | | | | | | | | | | | *Fixup about and chrome scheme URLs in URLFixerUpper::FixupURL. *Update AboutSource to use the source_name of each about/chrome page. *Make WillHandleBrowserAboutURL fix up schemes and handle chrome://foo/ -Redirect memory to memory-redirect (wasn't handling chrome://memory/). -Catalog all kChromeUI*Hosts in url_constants.cc -Simplify paths (credits, os-credits, ipc, settings, about/version). -Nix web_ui_util::ChromeURLHostEquals (use scheme & host comparison). -Favor GURL::SchemeIs and url_constants, update & expand tests. -Add and fixup chrome://chrome-urls (the about:about page). BUG=55771 TEST=Access about:, about://, chrome:, chrome:// pages. Review URL: http://codereview.chromium.org/7068007 TBR=msw@chromium.org Review URL: http://codereview.chromium.org/7064052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88166 0039d316-1c4b-4281-b951-d872f2087c98
* *Fixup about and chrome scheme URLs in URLFixerUpper::FixupURL.msw@chromium.org2011-06-071-12/+7
| | | | | | | | | | | | | | | | | | *Update AboutSource to use the source_name of each about/chrome page. *Make WillHandleBrowserAboutURL fix up schemes and handle chrome://foo/ -Redirect memory to memory-redirect (wasn't handling chrome://memory/). -Catalog all kChromeUI*Hosts in url_constants.cc -Simplify paths (credits, os-credits, ipc, settings, about/version). -Nix web_ui_util::ChromeURLHostEquals (use scheme & host comparison). -Favor GURL::SchemeIs and url_constants, update & expand tests. -Add and fixup chrome://chrome-urls (the about:about page). BUG=55771 TEST=Access about:, about://, chrome:, chrome:// pages. Review URL: http://codereview.chromium.org/7068007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88142 0039d316-1c4b-4281-b951-d872f2087c98
* Use OVERRIDE for the ContentClients.avi@chromium.org2011-05-311-2/+3
| | | | | | | | | BUG=none TEST=no build change Review URL: http://codereview.chromium.org/7086010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87303 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of render_messages.h and web_cache_manager.h. I moved the view ↵jam@chromium.org2011-05-261-1/+0
| | | | | | | | | source message to content since it belongs there now that devtools will be in content. BUG=76697 Review URL: http://codereview.chromium.org/7081001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86925 0039d316-1c4b-4281-b951-d872f2087c98
* Drop url_constants dependency in content/.avi@chromium.org2011-05-191-6/+11
| | | | | | | | | BUG=76697 TEST=compiles, about:urls still work Review URL: http://codereview.chromium.org/7044013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85907 0039d316-1c4b-4281-b951-d872f2087c98
* Revert my recent changes regarding title directionality.evan@chromium.org2011-04-251-4/+4
| | | | | | | | | | | | | | | | This reverts: r82400: Plumb direction of document title through IPC layer. r82582: Add and use a base::i18n::StringWithDirection for carrying titles. r82778: Change NavigationEntry's title fields to carry the text direction. I'm going to take an alternative approach; after getting this far, I can see that this approach was too complicated. BUG=27094 Review URL: http://codereview.chromium.org/6901003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82908 0039d316-1c4b-4281-b951-d872f2087c98
* Change NavigationEntry's title fields to carry the text direction.evan@chromium.org2011-04-231-4/+4
| | | | | | | | | | | Mark most of the users with a tag pointing at the bug, so they can be fixed incrementally. BUG=27094 Review URL: http://codereview.chromium.org/6894009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82778 0039d316-1c4b-4281-b951-d872f2087c98
* Move BrowserRenderProcessHost to content. It should have been moved earlier.jam@chromium.org2011-04-191-1/+1
| | | | | | Review URL: http://codereview.chromium.org/6877019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82037 0039d316-1c4b-4281-b951-d872f2087c98
* Add a dcheck to make sure that RenderProcessHost::AllHostsIterator is called ↵jam@chromium.org2011-04-071-1/+5
| | | | | | | | on the UI thread. Review URL: http://codereview.chromium.org/6720051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80795 0039d316-1c4b-4281-b951-d872f2087c98
* Get rid of extensions dependency from content\browser.jam@chromium.org2011-04-041-0/+9
| | | | | | | BUG=76789 Review URL: http://codereview.chromium.org/6693054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80315 0039d316-1c4b-4281-b951-d872f2087c98
* Move WebUIFactory to chrome/, try 2.estade@chromium.org2011-03-301-16/+51
| | | | | | | | | | | | | first try was r79691 This fixes the SiteInstance unit test failure. SiteInstance has all kinds of dependencies into chrome/. This fixes the unittest just enough to get it passing without trying to refactor SiteInstance at all. BUG=77092 TEST=trybots, again Review URL: http://codereview.chromium.org/6731060 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79849 0039d316-1c4b-4281-b951-d872f2087c98
* Remove browsing_instance.h stub file and update all the references.tfarina@chromium.org2011-02-241-1/+2
| | | | | | | | | BUG=None TEST=trybots Review URL: http://codereview.chromium.org/6576006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75832 0039d316-1c4b-4281-b951-d872f2087c98
* Move files out of chrome\browser\renderer_host\test alongside their source. ↵jam@chromium.org2011-02-241-0/+529
Most of them went to content\browser\renderer_host. Review URL: http://codereview.chromium.org/6575009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75824 0039d316-1c4b-4281-b951-d872f2087c98