Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7585)

Unified Diff: chrome/common/crash_keys_unittest.cc

Issue 1360943004: Revert of Use a class instead of several separate globals in crash_logging.cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/debug/crash_logging_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/crash_keys_unittest.cc
diff --git a/chrome/common/crash_keys_unittest.cc b/chrome/common/crash_keys_unittest.cc
index 959d6332109dc049cc386e46db902de528fe8bd7..5dd04b2235b2405097558cb44eafc6d74b73b3c1 100644
--- a/chrome/common/crash_keys_unittest.cc
+++ b/chrome/common/crash_keys_unittest.cc
@@ -8,7 +8,6 @@
#include <set>
#include <string>
-#include "base/at_exit.h"
#include "base/command_line.h"
#include "base/compiler_specific.h"
#include "base/debug/crash_logging.h"
@@ -26,6 +25,7 @@
}
void TearDown() override {
+ base::debug::ResetCrashLoggingForTesting();
self_ = NULL;
}
@@ -53,10 +53,6 @@
static CrashKeysTest* self_;
std::map<std::string, std::string> keys_;
-
- // The ShadowingAtExitManager will destroy the singleton used to store crash
- // key data upon destruction.
- base::ShadowingAtExitManager at_exit_manager_;
};
CrashKeysTest* CrashKeysTest::self_ = NULL;
« no previous file with comments | « base/debug/crash_logging_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698