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

Unified Diff: ios/chrome/browser/crash_report/crash_report_user_application_state.mm

Issue 1207353005: [iOS] Upstream some stability code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
Index: ios/chrome/browser/crash_report/crash_report_user_application_state.mm
diff --git a/ios/chrome/browser/crash_report/crash_report_user_application_state.mm b/ios/chrome/browser/crash_report/crash_report_user_application_state.mm
new file mode 100644
index 0000000000000000000000000000000000000000..70751eb939d4c047750e8cd3b42969c7d3722a58
--- /dev/null
+++ b/ios/chrome/browser/crash_report/crash_report_user_application_state.mm
@@ -0,0 +1,19 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#import "ios/chrome/browser/crash_report/crash_report_user_application_state.h"
+
+namespace {
+NSString* const kBrowserState = @"user_application_state";
+}
+
+@implementation CrashReportUserApplicationState
+
++ (CrashReportUserApplicationState*)sharedInstance {
+ static CrashReportUserApplicationState* instance =
+ [[CrashReportUserApplicationState alloc] initWithKey:kBrowserState];
+ return instance;
+}
+
+@end
« no previous file with comments | « ios/chrome/browser/crash_report/crash_report_user_application_state.h ('k') | ios/chrome/browser/metrics/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698