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

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..4182d583e5b2807fdd11a0343101bdba36abd214
--- /dev/null
+++ b/ios/chrome/browser/crash_report/crash_report_user_application_state.mm
@@ -0,0 +1,24 @@
+// 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] init];
+ return instance;
+}
+
+- (id)init {
+ self = [super initWithKey:kBrowserState];
+ return self;
+}
+
+@end

Powered by Google App Engine
This is Rietveld 408576698