deepak1556
abec938b0a
Use base::size rather than arraysize
...
https://bugs.chromium.org/p/chromium/issues/detail?id=837308
2019-02-14 23:59:22 +05:30
Charles Kerr
d663b4eaee
fix: fix gn cpplint warnings ( #14583 )
...
* chore: fix cpplint 'include_what_you_use' warnings
Typically by including <memory>, <utility> etc.
* chore: fix 'static/global string constant' warning
Use C style strings instead of std::string.
Style guide forbids non-trivial static / global variables. https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables
/home/charles/electron/electron-gn/src/electron/script/cpplint.js
* refactor: remove global string variables.
Fix 'global string variables are not permitted' linter warnings
by using the base::NoDestructor<> wrapper to make it explicit that
these variables are never destroyed.
The style guide's take on globals with nontrivial destructors:
https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables
* fix: initializer error introduced in last commit
* fix: remove WIP file that was included by accident
* fix: include order
* fix: include order
* fix: include order
* fix: include order, again
2018-09-12 19:25:56 -05:00
Jeremy Apthorp
9a296fc63e
Fix code triggering new -Wmicrosoft-cast warning in M67
2018-09-11 20:24:03 +02:00
Jeremy Apthorp
16b66db9c7
build: [gn] working on 32bit windows
2018-07-19 17:04:44 -07:00
Jeremy Apthorp
810909425e
chore: breakpad #include compatibility between GN and GYP
2018-07-09 16:53:06 -07:00
Jeremy Apthorp
4255384abc
chore: [gn] remove vendor/ from windows include paths ( #13432 )
2018-06-26 15:03:56 +10:00
Jeremy Apthorp
6f91af9343
chore: fix various chromium-style errors in windows ( #13394 )
...
These errors weren't previously picked up because the GN build wasn't running on Windows.
2018-06-25 22:30:00 +02:00
Tomas Rycl
1ac0ab2b71
Include missing "windows.h" and fix headers ordering
...
For PCWSTR on line 198.
2018-06-19 11:49:43 +10:00
Milan Burda
2337237d58
Refactoring: use C++11 class member variable initialization
2018-05-22 00:18:38 +02:00
Jeremy Apthorp
da0fd10423
refactor: chromium-style warnings in linux code ( #12949 )
2018-05-16 14:12:45 -05:00
Jeremy Apthorp
8fa48d1c04
fix: unused variable warnings in linux code ( #12950 )
2018-05-15 13:49:27 -05:00
Jeremy Apthorp
c4134c3516
refactor: breakpad #includes to work with GN and GYP ( #12953 )
2018-05-15 11:33:19 -07:00
Jeremy Apthorp
73ac019882
Fix up #includes to work with both GYP and GN
2018-05-10 13:38:40 -07:00
Shelley Vohr
12a57ff1c2
clang-format objc files ( #12673 )
2018-04-20 11:47:04 -07:00
Jeremy Apthorp
e6695cf2ec
[chromium-style] override / virtual warnings
2018-04-19 11:12:10 -07:00
Jeremy Apthorp
a635f078c6
[chromium-style] auto variable type must not deduce to a raw pointer type
2018-04-19 11:10:52 -07:00
Shelley Vohr
c6f4bbd143
also format missing .cc files
2018-04-18 20:48:45 -04:00
Shelley Vohr
53bdf22c85
clang-format atom files
2018-04-18 20:48:45 -04:00
Ales Pergl
4673c67835
Fixed passing of exception to the system crash handler
2018-03-09 15:46:27 +01:00
deepak1556
237bd6790b
FIXME: allow IO access on main thread for crash reporter
2018-01-02 16:37:11 +09:00
deepak1556
e3a56240c9
REVIEW: fix base::File helper usage on incorrect task sequence
2018-01-02 16:37:10 +09:00
deepak1556
1d95241185
FIXME: refactor and remove usage of ScopedAllowIO where possible
2018-01-02 16:37:06 +09:00
Shelley Vohr
3af83f1c97
add new method and mark setExtraParameter for deprecation
2017-11-01 21:57:43 -04:00
Shelley Vohr
93df164485
add const and other small edits
2017-10-31 23:42:25 -04:00
Shelley Vohr
a538e47994
complete GetParameters method & all tests passing
2017-10-31 18:19:04 -04:00
Shelley Vohr
3136f833a5
fixes and updates to GetParameters
2017-10-31 13:51:44 -04:00
Shelley Vohr
a9c13359dc
first attempt to add new GetParameters method to CrashReporter
2017-10-31 13:06:54 -04:00
Kevin Sawicki
3dee76a6c1
🎨
2017-05-08 13:43:13 -07:00
Cheng Zhao
08069e18db
Don't use gzip when uploading crash reports
2017-04-27 16:34:52 +09:00
Kevin Sawicki
d677a436ec
🎨
2017-03-31 10:42:43 -07:00
Thiago de Arruda
f0d447cd68
Pass uploadToServer
to windows crash reporter
2017-03-31 13:46:30 -03:00
Thiago de Arruda
e03e37e984
Pass uploadToServer
parameter to linux crash reporter
2017-03-09 17:23:52 -03:00
Kevin Sawicki
3b7207da9f
Support removing extra parameters
2017-02-14 09:37:09 -08:00
Kevin Sawicki
9a434af03e
Clear crash keys in InitBreakpad
2017-02-14 09:37:09 -08:00
Kevin Sawicki
ba975d552a
Add setExtraParameter support on macOS
2017-02-14 09:37:09 -08:00
Cheng Zhao
8a6fd685e3
Interface of crashpad_client.StartHandler has changed
...
Refs:
7b9234c4b2
%5E%21/
2017-02-06 10:34:29 -08:00
Kevin Sawicki
43ef4faf79
🎨
2017-01-24 14:00:03 -08:00
Kevin Sawicki
795b674996
Add StartInstance helper on CrashReporter
2017-01-24 13:54:46 -08:00
Kevin Sawicki
91f8d6092b
Take options object in process.crashReporter.start
2017-01-24 12:44:39 -08:00
Kevin Sawicki
07994f50f3
Remove include now included in parent header
2016-11-28 15:11:50 -08:00
Samuel Attard
2bf6f28152
shouldUpload --> uploadToServer
2016-11-28 15:08:28 -08:00
Samuel Attard
a7dedb3a13
Update crash_reporter.cc
2016-11-28 15:08:28 -08:00
Samuel Attard
285a36f9de
Use GetUploadsEnabled to return GetShouldUpload
2016-11-28 15:08:28 -08:00
Samuel Attard
5a1a2616aa
Fix build issues
2016-11-28 15:08:12 -08:00
Samuel Attard
0d1804b2a0
Fix issues and deprecate the old prop
2016-11-28 15:08:12 -08:00
Samuel Attard
7b8eb3e09c
Rename autoUpload to shouldUpload
2016-11-28 15:08:12 -08:00
Kevin Sawicki
d39182b41a
Pass crashes directory instead of product name and temp dir
2016-10-06 10:55:11 -07:00
Kevin Sawicki
f61ace74bb
Sort includes
2016-10-06 09:50:06 -07:00
Kevin Sawicki
30c6ca6751
Only call UTF8ToUTF16 on Windows
2016-10-06 09:14:16 -07:00
Kevin Sawicki
84b7bb29f0
Fix Windows compiler errors
2016-10-06 09:02:03 -07:00