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

Unified Diff: content/app/content_main_runner.cc

Issue 1127183004: Add retry logic to V8Initializer snapshot loading files for suspected A/V problem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « no previous file | gin/v8_initializer.cc » ('j') | tools/metrics/histograms/histograms.xml » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/app/content_main_runner.cc
diff --git a/content/app/content_main_runner.cc b/content/app/content_main_runner.cc
index 4c8dcbb99c45b9cf19b2637411e2253892f9d1d4..7c1c30a68a0c9613138b0ff760fa7d5a64e70e4b 100644
--- a/content/app/content_main_runner.cc
+++ b/content/app/content_main_runner.cc
@@ -16,6 +16,7 @@
#include "base/logging.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
+#include "base/metrics/statistics_recorder.h"
#include "base/path_service.h"
#include "base/process/launch.h"
#include "base/process/memory.h"
@@ -448,6 +449,7 @@ class ContentMainRunnerImpl : public ContentMainRunner {
ui_task_ = params.ui_task;
base::EnableTerminationOnOutOfMemory();
+
jochen (gone - plz use gerrit) 2015/05/07 15:03:19 revert?
oth 2015/05/08 09:21:53 Done.
#if defined(OS_WIN)
RegisterInvalidParamHandler();
ui::win::CreateATLModuleIfNeeded();
@@ -704,6 +706,8 @@ class ContentMainRunnerImpl : public ContentMainRunner {
CHECK(base::i18n::InitializeICU());
#endif // OS_ANDROID
+ base::StatisticsRecorder::Initialize();
+
#if defined(V8_USE_EXTERNAL_STARTUP_DATA)
#if defined(OS_POSIX) && !defined(OS_MACOSX)
#if !defined(OS_ANDROID)
« no previous file with comments | « no previous file | gin/v8_initializer.cc » ('j') | tools/metrics/histograms/histograms.xml » ('J')

Powered by Google App Engine
This is Rietveld 408576698