Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
fac2fac1
Commit
fac2fac1
authored
Mar 21, 2017
by
Alexandre Ardhuin
Committed by
GitHub
Mar 21, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add missing const keyword (#8931)
parent
dac80aac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
crash_reporting.dart
packages/flutter_tools/lib/src/crash_reporting.dart
+6
-6
No files found.
packages/flutter_tools/lib/src/crash_reporting.dart
View file @
fac2fac1
...
...
@@ -12,27 +12,27 @@ import 'globals.dart';
import
'usage.dart'
;
/// Tells crash backend that the error is from the Flutter CLI.
String
_kProductId
=
'Flutter_Tools'
;
const
String
_kProductId
=
'Flutter_Tools'
;
/// Tells crash backend that this is a Dart error as opposed to, say, Java.
String
_kDartTypeId
=
'DartError'
;
const
String
_kDartTypeId
=
'DartError'
;
/// Crash backend host.
String
_kCrashServerHost
=
'clients2.google.com'
;
const
String
_kCrashServerHost
=
'clients2.google.com'
;
/// Path to the crash servlet.
// TODO(yjbanov): switch to non-staging when production is ready.
String
_kCrashEndpointPath
=
'/cr/staging_report'
;
const
String
_kCrashEndpointPath
=
'/cr/staging_report'
;
/// The field corresponding to the multipart/form-data file attachment where
/// crash backend expects to find the Dart stack trace.
String
_kStackTraceFileField
=
'DartError'
;
const
String
_kStackTraceFileField
=
'DartError'
;
/// The name of the file attached as [_kStackTraceFileField].
///
/// The precise value is not important. It is ignored by the crash back end, but
/// it must be supplied in the request.
String
_kStackTraceFilename
=
'stacktrace_file'
;
const
String
_kStackTraceFilename
=
'stacktrace_file'
;
/// We only send crash reports in testing mode.
///
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment