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

Side by Side Diff: components/crash/core/browser/crashes_ui_util.cc

Issue 2187473003: Remove #includes of "xxx_google_chrome_strings.h". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix bad merge Created 4 years, 4 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 unified diff | Download patch
« no previous file with comments | « components/crash/core/browser/DEPS ('k') | components/error_page/common/localized_error.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/crash/core/browser/crashes_ui_util.h" 5 #include "components/crash/core/browser/crashes_ui_util.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/i18n/time_formatting.h" 11 #include "base/i18n/time_formatting.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "components/upload_list/upload_list.h" 14 #include "components/upload_list/upload_list.h"
15 #include "grit/components_chromium_strings.h" 15 #include "grit/components_chromium_strings.h"
16 #include "grit/components_google_chrome_strings.h"
17 #include "grit/components_strings.h" 16 #include "grit/components_strings.h"
18 17
19 namespace crash { 18 namespace crash {
20 19
21 const CrashesUILocalizedString kCrashesUILocalizedStrings[] = { 20 const CrashesUILocalizedString kCrashesUILocalizedStrings[] = {
22 {"bugLinkText", IDS_CRASH_BUG_LINK_LABEL}, 21 {"bugLinkText", IDS_CRASH_BUG_LINK_LABEL},
23 {"crashCountFormat", IDS_CRASH_CRASH_COUNT_BANNER_FORMAT}, 22 {"crashCountFormat", IDS_CRASH_CRASH_COUNT_BANNER_FORMAT},
24 {"crashHeaderFormat", IDS_CRASH_CRASH_HEADER_FORMAT}, 23 {"crashHeaderFormat", IDS_CRASH_CRASH_HEADER_FORMAT},
25 {"crashHeaderFormatLocalOnly", IDS_CRASH_CRASH_HEADER_FORMAT_LOCAL_ONLY}, 24 {"crashHeaderFormatLocalOnly", IDS_CRASH_CRASH_HEADER_FORMAT_LOCAL_ONLY},
26 {"crashTimeFormat", IDS_CRASH_CRASH_TIME_FORMAT}, 25 {"crashTimeFormat", IDS_CRASH_CRASH_TIME_FORMAT},
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 crash->SetString("time", 69 crash->SetString("time",
71 base::TimeFormatFriendlyDateAndTime(info.capture_time)); 70 base::TimeFormatFriendlyDateAndTime(info.capture_time));
72 } 71 }
73 crash->SetString("local_id", info.local_id); 72 crash->SetString("local_id", info.local_id);
74 crash->SetString("state", UploadInfoStateAsString(info.state)); 73 crash->SetString("state", UploadInfoStateAsString(info.state));
75 out_value->Append(std::move(crash)); 74 out_value->Append(std::move(crash));
76 } 75 }
77 } 76 }
78 77
79 } // namespace crash 78 } // namespace crash
OLDNEW
« no previous file with comments | « components/crash/core/browser/DEPS ('k') | components/error_page/common/localized_error.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698