Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

crash reporting #279

Merged
merged 8 commits into from
Sep 30, 2017
Merged

crash reporting #279

merged 8 commits into from
Sep 30, 2017

Conversation

bridiver
Copy link
Collaborator

re-enable crash reporting

@@ -351,6 +313,11 @@ ProfileManager::ProfileInfo* ProfileManager::GetProfileInfoByPath(
return (iter == profiles_info_.end()) ? NULL : iter->second.get();
}

// static
void ProfileManager::NukeDeletedProfilesFromDisk() {
// TODO(bridiver)
Copy link
Contributor

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
Copy link
Contributor

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>
Copy link
Contributor

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.

Copy link
Collaborator Author

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

return crash_reporter::RunAsCrashpadHandler(
*base::CommandLine::ForCurrentProcess(), switches::kProcessType);
} else if (process_type == crash_reporter::switches::kFallbackCrashHandler) {
// return RunFallbackCrashHandler(*command_line);
Copy link
Contributor

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");
Copy link
Contributor

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?

posix4e
posix4e previously approved these changes Aug 21, 2017
Copy link
Contributor

@posix4e posix4e left a 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",
Copy link
Member

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"
Copy link
Member

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?

Copy link
Collaborator Author

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

@bridiver bridiver force-pushed the issue-230 branch 11 times, most recently from 76fede0 to d457b91 Compare August 30, 2017 02:26
kXdgConfigHomeEnvVar,
kDotConfigDir));
-#if defined(GOOGLE_CHROME_BUILD)
+#if defined(GOOGLE_CHROME_BUILD) || !defined(MUON_CHROMIUM_BUILD)
Copy link
Collaborator Author

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

bridiver added a commit to brave/browser-laptop that referenced this pull request Sep 29, 2017
user-data-dir -> user-data-dir-name
add muon api for crash reporter in renderer
@bridiver bridiver merged commit fec6974 into master Sep 30, 2017
bridiver added a commit that referenced this pull request Sep 30, 2017
darkdh added a commit to brave/electron-squirrel-startup that referenced this pull request Sep 30, 2017
darkdh added a commit to brave/electron-installer-debian that referenced this pull request Sep 30, 2017
darkdh added a commit to brave/electron-installer-redhat that referenced this pull request Sep 30, 2017
bbondy pushed a commit to brave/browser-laptop that referenced this pull request Oct 6, 2017
bbondy pushed a commit to brave/browser-laptop that referenced this pull request Oct 6, 2017
bbondy pushed a commit to brave/browser-laptop that referenced this pull request Oct 6, 2017
bbondy pushed a commit to brave/browser-laptop that referenced this pull request Oct 7, 2017
bbondy pushed a commit to brave/browser-laptop that referenced this pull request Oct 7, 2017
bbondy pushed a commit to brave/browser-laptop that referenced this pull request Oct 11, 2017
bbondy pushed a commit to brave/browser-laptop that referenced this pull request Oct 11, 2017
bbondy pushed a commit to brave/browser-laptop that referenced this pull request Oct 13, 2017
bbondy pushed a commit to brave/browser-laptop that referenced this pull request Oct 13, 2017
bbondy pushed a commit to brave/browser-laptop that referenced this pull request Oct 13, 2017
bbondy pushed a commit to brave/browser-laptop that referenced this pull request Oct 13, 2017
bbondy pushed a commit to brave/browser-laptop that referenced this pull request Oct 18, 2017
bbondy added a commit to brave/electron-installer-debian that referenced this pull request Oct 27, 2017
Address changes of crash reporter in brave/muon#279
bbondy added a commit to brave/electron-installer-redhat that referenced this pull request Oct 27, 2017
Address changes of crash reporter in brave/muon#279
syuan100 pushed a commit to syuan100/browser-laptop that referenced this pull request Nov 9, 2017
@bsclifton bsclifton deleted the issue-230 branch June 18, 2018 18:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants