• darin@chromium.org's avatar
    Mojo: re-org public/utility and public/environment · 0a4310ff
    darin@chromium.org authored
    The plan:
    - mojo/public/{subdir} contains public headers and scripts (if any).
    - mojo/public/{subdir}/lib contains private headers and .cc files (if any).
    - mojo/public/{subdir}/tests contains test files.
    
    Also, as part of this CL:
    
    1- I simplified the TLS implementation in utility and hid it as an internal API. I'm not happy providing the API to third-parties as is. It was really intended to be used with LazyInstance, etc. Without that there is some subtlety with setup and teardown of the TLS slot. Hiding it avoids having to deal with this for now.
    
    2- Deleted thread_local_unittest.cc as that was still coded against base/threading/thread_local.h (oops)! Besides that this test has a large dependency on base threading and synchronization primitives. It also isn't that useful to test our wrappers for TLS as they are such thin wrappers around the OS provided APIs.
    
    3- Renamed environment/standalone to environment/lib for consistency. From the point of view of a third-party, lib is the better name for this directory.
    
    Review URL: https://codereview.chromium.org/148013006
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@247927 0039d316-1c4b-4281-b951-d872f2087c98
    0a4310ff
environment.cc 535 Bytes