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

Unified Diff: chrome/common/v8_breakpad_support_win.cc

Issue 2627713007: Move v8_breakpad_support_win from common to child (Closed)
Patch Set: . Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/v8_breakpad_support_win.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/v8_breakpad_support_win.cc
diff --git a/chrome/common/v8_breakpad_support_win.cc b/chrome/common/v8_breakpad_support_win.cc
deleted file mode 100644
index a5d5e9450c5efb088e1450090118bf5395d5473d..0000000000000000000000000000000000000000
--- a/chrome/common/v8_breakpad_support_win.cc
+++ /dev/null
@@ -1,34 +0,0 @@
-// Copyright (c) 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "chrome/common/v8_breakpad_support_win.h"
-
-#include <windows.h>
-
-#include "base/logging.h"
-#include "chrome/common/chrome_constants.h"
-#include "gin/public/debug.h"
-
-namespace v8_breakpad_support {
-
-void SetUp() {
-#ifdef _WIN64
- // Get the breakpad pointer from chrome.exe
- gin::Debug::CodeRangeCreatedCallback create_callback =
- reinterpret_cast<gin::Debug::CodeRangeCreatedCallback>(
- ::GetProcAddress(::GetModuleHandle(chrome::kChromeElfDllName),
- "RegisterNonABICompliantCodeRange"));
- gin::Debug::CodeRangeDeletedCallback delete_callback =
- reinterpret_cast<gin::Debug::CodeRangeDeletedCallback>(
- ::GetProcAddress(::GetModuleHandle(chrome::kChromeElfDllName),
- "UnregisterNonABICompliantCodeRange"));
- // When running e.g. browser_tests.exe, these might be NULL.
- if (create_callback && delete_callback) {
- gin::Debug::SetCodeRangeCreatedCallback(create_callback);
- gin::Debug::SetCodeRangeDeletedCallback(delete_callback);
- }
-#endif
-}
-
-} // namespace v8_breakpad_support
« no previous file with comments | « chrome/common/v8_breakpad_support_win.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698