summaryrefslogtreecommitdiffstats
path: root/content/browser/browsing_instance.cc
Commit message (Collapse)AuthorAgeFilesLines
* Update content/ to use scoped_refptr<T>::get() rather than implicit ↵rsleevi@chromium.org2013-06-021-4/+6
| | | | | | | | | | | | | "operator T*" Linux fixes BUG=110610 TBR=darin Review URL: https://chromiumcodereview.appspot.com/16294003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203624 0039d316-1c4b-4281-b951-d872f2087c98
* Move remaining files in content\browser to the content namespace.jam@chromium.org2012-10-301-2/+4
| | | | | | Review URL: https://codereview.chromium.org/11340029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164828 0039d316-1c4b-4281-b951-d872f2087c98
* Rename GetSite in SiteInstance to GetSiteURL.nasko@chromium.org2012-09-281-2/+2
| | | | | | | | | | | This rename is in preparation of adding a GetSite method, which will return a structure instead of GURL. BUG=145500 Review URL: https://chromiumcodereview.appspot.com/11000027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@159263 0039d316-1c4b-4281-b951-d872f2087c98
* Move process-per-site logic from BrowsingInstance to RenderProcessHost.creis@chromium.org2012-06-291-87/+10
| | | | | | | | | | | | | This avoids sharing SiteInstances across different BrowsingInstances. BUG=11629 BUG=131676 TEST=See repro steps in http://crbug.com/131676. Review URL: https://chromiumcodereview.appspot.com/10575014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144911 0039d316-1c4b-4281-b951-d872f2087c98
* Rename WebUIFactory to WebUIControllerFactory since that's what it creates now.jam@chromium.org2012-01-271-3/+5
| | | | | | | | | I've removed EmptyWebUIFactory, since that doesn't fit in well with Content API now. There were only a few places in the code that called it, and handling NULL wasn't much work. BUG=98716 Review URL: https://chromiumcodereview.appspot.com/9288074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119341 0039d316-1c4b-4281-b951-d872f2087c98
* Convert all remaining explicit LeakyLazyInstanceTraits users to ::Leakyfischman@chromium.org2012-01-261-5/+2
| | | | | | | | | | | | | and hide LeakyLazyInstanceTraits in base::internal to discourage cargo-culting new users. BUG=none TEST=none Review URL: http://codereview.chromium.org/9117038 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119173 0039d316-1c4b-4281-b951-d872f2087c98
* Define the public interface for content browser SiteInstance. This interface ↵ananta@chromium.org2012-01-251-16/+21
| | | | | | | | | | | | | | | is implemented by the SiteInstanceImpl class which lives in content\browser\site_instance.cc/.h. Changes as part of creating a content API. BUG=98716 TEST=No change in functionality. Hopefully it all compiles and works. Review URL: http://codereview.chromium.org/8515027 Review URL: https://chromiumcodereview.appspot.com/9146028 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119102 0039d316-1c4b-4281-b951-d872f2087c98
* Hide BrowsingInstance from all but SiteInstance, as intended by design.joi@chromium.org2012-01-181-3/+3
| | | | | | | | | | | | | | See comment on BrowsingInstance class that explains it should only be visible to SiteInstance. By restoring this design, we also eliminate one Chrome->Content dependency. TBR=ben@chromium.org BUG=98716 Review URL: http://codereview.chromium.org/9221017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118090 0039d316-1c4b-4281-b951-d872f2087c98
* Move WebUIFactory into content/public/browser and make it use WebContents ↵jam@chromium.org2012-01-071-2/+3
| | | | | | | | | | | instead of TabContents. Update all callers accordingly. I also got rid of WebUIFactory::Get. It was only called in a few places, and as part of the Content API we want to avoid cc files in the public directory. BUG=98716 Review URL: http://codereview.chromium.org/9097005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116795 0039d316-1c4b-4281-b951-d872f2087c98
* Trivial move of content::BrowserContext to content/public.joi@chromium.org2011-12-151-1/+1
| | | | | | | | | | | R=avi@chromium.org TBR=rlp@chromium.org BUG=98716 TEST= Review URL: http://codereview.chromium.org/8921021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114651 0039d316-1c4b-4281-b951-d872f2087c98
* Allow linker initialization of lazy instancejoth@chromium.org2011-11-151-1/+2
| | | | | | | | | | | | | | Using the initializer list construct = {0} allows the object to be linker initialized. Modify the LazyInstance class design to make it a pod aggregate type that can be linker initialized this way. Also combines the instance and state members, in line with the Singleton<> class design. Introduces a new LAZY_INSTANCE_INITIALIZER macro specifically for using to init all lazy instances + modify all existing callsites to use it. (Old code would no longer compile) BUG=94925 TEST=existing tests pass. http://build.chromium.org/f/chromium/perf/linux-release/sizes/report.html?history=150&header=chrome-si&graph=chrome-si&rev=-1 should step downward. TBR=jam@chromium.org,rvargas@chromium.org,darin@chromium.org,ben@chromium.org,apatrick@chromium.org,akalin@chromium.org Review URL: http://codereview.chromium.org/8491043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@110076 0039d316-1c4b-4281-b951-d872f2087c98
* content: Remove 16 exit time destructors and 15 static initializers.thakis@chromium.org2011-11-081-4/+8
| | | | | | | | | | BUG=101600,94925 TEST=none TBR=ben Review URL: http://codereview.chromium.org/8493016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108982 0039d316-1c4b-4281-b951-d872f2087c98
* Move content_browser_client.h to public, and while at it, movejoi@chromium.org2011-10-191-1/+1
| | | | | | | | | | | | window_container_type.h as well since it is included by content_browser_client.h BUG=98716 TEST=it builds + existing tests Review URL: http://codereview.chromium.org/8346017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106323 0039d316-1c4b-4281-b951-d872f2087c98
* Move content_client.h into content/public.joi@chromium.org2011-10-181-1/+0
| | | | | | | | | | TBR=jam@chromium.org BUG=98716 TEST=it builds Review URL: http://codereview.chromium.org/8336007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106167 0039d316-1c4b-4281-b951-d872f2087c98
* Move url_constansts.h to content/public/common.jam@chromium.org2011-10-141-1/+1
| | | | | | | BUG=98716 Review URL: http://codereview.chromium.org/8276022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105508 0039d316-1c4b-4281-b951-d872f2087c98
* Move content_switches to content\public\common.jam@chromium.org2011-10-131-1/+1
| | | | | | | BUG=98716 Review URL: http://codereview.chromium.org/8277018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105389 0039d316-1c4b-4281-b951-d872f2087c98
* Removal of Profile from content part 1.avi@chromium.org2011-07-271-20/+24
| | | | | | | | | 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
* Get rid of the ProfileId. It was added for ceee. I reverted the original ↵jam@chromium.org2011-07-131-6/+2
| | | | | | | | | 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-1/+2
| | | | | | | | | | | | 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
* Remove content dependency on ↵jam@chromium.org2011-06-131-1/+1
| | | | | | | | | chrome/browser/accessibility/browser_accessibility_state.h and chrome/common/chrome_switches.h. BUG=76697,85932 Review URL: http://codereview.chromium.org/7046114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88923 0039d316-1c4b-4281-b951-d872f2087c98
* Drop url_constants dependency in content/.avi@chromium.org2011-05-191-1/+1
| | | | | | | | | 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
* Move WebUIFactory to chrome/, try 2.estade@chromium.org2011-03-301-2/+5
| | | | | | | | | | | | | 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
* Revert 79691 - Move WebUIFactory to chrome/browser.estade@chromium.org2011-03-291-5/+2
| | | | | | | | | | | | | | | | This reduces dependencies from content/ to chrome/. WebUIFactory is the interface in content/ to ChromeWebUIFactory in chrome/ BUG=77092 TEST=none Review URL: http://codereview.chromium.org/6713082 TBR=estade@chromium.org Review URL: http://codereview.chromium.org/6708114 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79693 0039d316-1c4b-4281-b951-d872f2087c98
* Move WebUIFactory to chrome/browser.estade@chromium.org2011-03-291-2/+5
| | | | | | | | | | | | | This reduces dependencies from content/ to chrome/. WebUIFactory is the interface in content/ to ChromeWebUIFactory in chrome/ BUG=77092 TEST=none Review URL: http://codereview.chromium.org/6713082 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79691 0039d316-1c4b-4281-b951-d872f2087c98
* Make the ChromeNetworkDelegate use the ExtensionEventRouterForwarderjochen@chromium.org2011-03-011-2/+2
| | | | | | | | | BUG=73903 TEST=tests for proxy and webrequest API should still work Review URL: http://codereview.chromium.org/6598002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76372 0039d316-1c4b-4281-b951-d872f2087c98
* WebUI: Move the core files of WebUI from chrome/browser/webui to ↵tfarina@chromium.org2011-02-251-1/+1
| | | | | | | | | | | content/browser/webui. BUG=59946 TEST=trybots Review URL: http://codereview.chromium.org/6575054 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76020 0039d316-1c4b-4281-b951-d872f2087c98
* Move core pieces of chrome\browser. I've only gone up to "g", will do the ↵jam@chromium.org2011-02-221-0/+149
rest in another cl. TBR=avi Review URL: http://codereview.chromium.org/6538100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75652 0039d316-1c4b-4281-b951-d872f2087c98