summaryrefslogtreecommitdiffstats
path: root/content/child/database_util.cc
Commit message (Collapse)AuthorAgeFilesLines
* Remove usage of ChildProcess::current() and ChildThread::current() other ↵jam@chromium.org2013-06-251-16/+19
| | | | | | | | | | | | | | | than on the main thread. This is needed so that single process mode will work correctly with the renderer/gpu/utility threads where we will have multiple ChildProcess objects. While doing this, I made a few cleanups: -FileSystemDispatcher was checking the return value of sending an async IPC, which always returns true. I removed the return value of those methods and updated the callers to not handle the case which never occurs. -IPCWebSocketStreamHandleBridge was posting a task to send an async message which is needless BUG=234172 R=scottmg@chromium.org Review URL: https://codereview.chromium.org/17681004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@208575 0039d316-1c4b-4281-b951-d872f2087c98
* Origin identifiers are always ASCII, store as std::stringjamesr@chromium.org2013-06-181-1/+2
| | | | | | | | | | | | | | | | | Origin identifiers are computed by a process that always produces ASCII strings. There's no reason to store origin identifiers as base::string16 or to do unicode conversions for them. Keeping them stored in std::string is a slight memory and performance improvement and avoids lots of sketchy conversions when converting to FilePaths. This patch still involves a number of conversions (or things that look like conversions) at the WebKit API boundary. BUG=243095 Review URL: https://chromiumcodereview.appspot.com/16965018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@206903 0039d316-1c4b-4281-b951-d872f2087c98
* Move a bunch of child-only code from content/common to content/childscottmg@chromium.org2013-06-061-0/+66
Was just trying to move content/common/resource_dispatcher.{cc,h}, but that ends up needing a lot of other things to move. TBR=jam@chromium.org BUG=246357 Review URL: https://codereview.chromium.org/16328003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204569 0039d316-1c4b-4281-b951-d872f2087c98