Cchrome-bot@google.comRemove the rest of #pragma once in one big CL.
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Use Environment::SetVar in more places. Make use of Environment::SetVar API to replace the calls to the Windows function SetEnvironmentVariable. BUG=None TEST=trybots Review URL: http://codereview.chromium.org/3076042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55993 0039d316-1c4b-4281-b951-d872f2087c98 | 15 年前 | |
Remove the rest of #pragma once in one big CL. For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Allow linker initialization of lazy instance 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 | 14 年前 | |
Move thread local stuff from base to base/threading and consistently use the base namespace. This also fixes references to TLSSlot to base::ThreadLocalStorage::Slot. TEST=it compiles BUG=none Review URL: http://codereview.chromium.org/5986012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70322 0039d316-1c4b-4281-b951-d872f2087c98 | 15 年前 | |
Remove obsolete base/lock.h and fix up callers to use the new header file and the base namespace. Fix several files including lock.h unnecessarily. BUG=none TEST=none Original review=http://codereview.chromium.org/6142009/ Patch by leviw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@72106 0039d316-1c4b-4281-b951-d872f2087c98 | 15 年前 | |
FBTF: Remove unneeded headers from base/ (part 7) BUG=none TEST=none Review URL: http://codereview.chromium.org/3176026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57737 0039d316-1c4b-4281-b951-d872f2087c98 | 15 年前 | |
Remove redundant includes of common.gypi and unused repo from DEPS build/gyp_chromium forces include of build/common.gypi for all gyp files so including it in other .gyp files is redundant. In the case of some properties, it causes duplication in lists which causes problems. One of these was in build/util/support/support.gyp which is still getting synced, but apparently has been long deleted and removed (2011). But the DEPS were never rolled to remove the whole repo the last unused file got removed here http://codereview.chromium.org/6294009 apparently. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=139259 Review URL: https://chromiumcodereview.appspot.com/10447026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@139268 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Made logging not look up --enable-dcheck from command line Made --enable-dcheck a parameter to InitLogging() and fixed up all callsites. BUG=62736 TEST=Manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=70782 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=70920 Review URL: http://codereview.chromium.org/6070006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@70977 0039d316-1c4b-4281-b951-d872f2087c98 | 15 年前 | |
Utility functions to interact with the NT loader's data structures and associated tests. This is in preparation for squelching false positive crash reports during DLL load. BUG=31980 TEST=Unittests in this change. Review URL: http://codereview.chromium.org/882001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41289 0039d316-1c4b-4281-b951-d872f2087c98 | 16 年前 | |
Heuristically avoid reporting crashes during DLL loading. Cleanup white space as requested by Robert in CL 882001. BUG=31980 TEST=Unittests in this change. Review URL: http://codereview.chromium.org/872004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41367 0039d316-1c4b-4281-b951-d872f2087c98 | 16 年前 | |
Change over IgnoreReturn to IgnoreResult. remove IgnoreReturn. BUG=98919 TEST=existing Review URL: http://codereview.chromium.org/9111032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116631 0039d316-1c4b-4281-b951-d872f2087c98 | 14 年前 | |
Make chrome compile with the win8 sdk So we can move the metro bits to src The EXCEPTION_REGISTRATION_RECORD is now defined along with a definition of Handler. BUG=127799 TEST= it builds Review URL: https://chromiumcodereview.appspot.com/10636046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144342 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 | |
Prevent excessive crash reporting due stack overflow (due exception in SEH filter). BUG=32441 Review URL: http://codereview.chromium.org/557021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37673 0039d316-1c4b-4281-b951-d872f2087c98 | 16 年前 | |
Move some files from base to base/memory. raw_scoped_refptr_mismatch_checker.h ref_counted.cc ref_counted.h ref_counted_memory.cc ref_counted_memory.h ref_counted_unittest.cc scoped_callback_factory.h scoped_comptr_win.h scoped_handle.h scoped_native_library.cc scoped_native_library.h scoped_native_library_unittest.cc scoped_nsobject.h scoped_open_process.h scoped_ptr.h scoped_ptr_unittest.cc scoped_temp_dir.cc scoped_temp_dir.h scoped_temp_dir_unittest.cc scoped_vector.h singleton.h singleton_objc.h singleton_unittest.cc linked_ptr.h linked_ptr_unittest.cc weak_ptr.cc weak_ptr.h weak_ptr_unittest.cc BUG=None TEST=Compile Review URL: http://codereview.chromium.org/6714032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79524 0039d316-1c4b-4281-b951-d872f2087c98 | 15 年前 | |
Improve filtering for false positive crashes ...by inspecting if the module with the crash has the topmost handler in the SEH chain. If that's the case then the exception will very likely be handled. This covers the case of IsBadReadPtr adn family without any special code. It also lets us address IsValidInterface, an internal helper in urlmon. BUG=64348 TEST=covered by existing unit tests Review URL: http://codereview.chromium.org/5622006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69066 0039d316-1c4b-4281-b951-d872f2087c98 | 15 年前 | |
Make chrome compile with the win8 sdk So we can move the metro bits to src The EXCEPTION_REGISTRATION_RECORD is now defined along with a definition of Handler. BUG=127799 TEST= it builds Review URL: https://chromiumcodereview.appspot.com/10636046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144342 0039d316-1c4b-4281-b951-d872f2087c98 | 13 年前 |