-
Notifications
You must be signed in to change notification settings - Fork 109
crash reporting #279
crash reporting #279
Conversation
@@ -351,6 +313,11 @@ ProfileManager::ProfileInfo* ProfileManager::GetProfileInfoByPath( | |||
return (iter == profiles_info_.end()) ? NULL : iter->second.get(); | |||
} | |||
|
|||
// static | |||
void ProfileManager::NukeDeletedProfilesFromDisk() { | |||
// TODO(bridiver) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we should create an issue for this?
|
||
# DON'T ADD MORE FLAGS HERE. Read the comment above. | ||
+ # Build chromium without muon flags | ||
+ muon_chromium_build = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so confusing. Hah! Good catch.
@@ -6,13 +6,18 @@ | |||
|
|||
#include <stdlib.h> | |||
|
|||
#include <memory> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a lot going on this commit. Maybe we should have a bit more context to review what's going on in this commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I split it up into multiple commits for that reason
atom/app/atom_main.cc
Outdated
return crash_reporter::RunAsCrashpadHandler( | ||
*base::CommandLine::ForCurrentProcess(), switches::kProcessType); | ||
} else if (process_type == crash_reporter::switches::kFallbackCrashHandler) { | ||
// return RunFallbackCrashHandler(*command_line); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's to happen here?
} | ||
|
||
void BrowserProcessImpl::PreMainMessageLoopRun() { | ||
TRACE_EVENT0("startup", "BrowserProcessImpl::PreMainMessageLoopRun"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trace event? What's going on here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hope you find my comments useful. In no way do I wish to block the merging. I am very excited about all of the red in these commits but am having a hard time saying for sure that I understand everything going on.
"$root_gen_dir/electron", | ||
"//electron/vendor/brightray", | ||
"$root_gen_dir/chrome", | ||
"$root_gen_dir/components/strings", | ||
"//electron/vendor/native_mate", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why these //electron*
dirs aren't included in muon_include_dirs_
+ default_compiler_configs -= [ "//build/config/compiler:default_include_dirs" ] | ||
+ default_compiler_configs += [ | ||
+ "//electron/build:muon_include_dirs", | ||
+ "//build/config/compiler:default_include_dirs" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does the order of configs matter here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, it does. Include dirs are searched in the order they are added
76fede0
to
d457b91
Compare
patches/master_patch.patch
Outdated
kXdgConfigHomeEnvVar, | ||
kDotConfigDir)); | ||
-#if defined(GOOGLE_CHROME_BUILD) | ||
+#if defined(GOOGLE_CHROME_BUILD) || !defined(MUON_CHROMIUM_BUILD) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check to see if this is still needed
user-data-dir -> user-data-dir-name add muon api for crash reporter in renderer
Address changes of crash reporter in brave/muon#279
Address changes of crash reporter in brave/muon#279
re-enable crash reporting