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

Unified Diff: services/ui/gpu/gpu_service.cc

Issue 2643853005: chromeos: Initial support for crash reporting for chrome --mash (Closed)
Patch Set: deps 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
« chrome/app/mash/mash_runner.cc ('K') | « services/ui/gpu/gpu_service.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/gpu/gpu_service.cc
diff --git a/services/ui/gpu/gpu_service.cc b/services/ui/gpu/gpu_service.cc
index a6c0804f6fecae3831cf0d1514863ea324ebc882..163172614ed771c243e8237ab93879fbfe1fc80a 100644
--- a/services/ui/gpu/gpu_service.cc
+++ b/services/ui/gpu/gpu_service.cc
@@ -37,6 +37,9 @@
namespace ui {
+// static
+const char GpuService::kActiveUrlCrashKey[] = "url-chunk";
+
GpuService::GpuService(const gpu::GPUInfo& gpu_info,
std::unique_ptr<gpu::GpuWatchdogThread> watchdog_thread,
gpu::GpuMemoryBufferFactory* gpu_memory_buffer_factory,
@@ -152,8 +155,8 @@ void GpuService::SendAcceleratedSurfaceCreatedChildWindow(
#endif
void GpuService::SetActiveURL(const GURL& url) {
- constexpr char kActiveURL[] = "url-chunk";
- base::debug::SetCrashKeyValue(kActiveURL, url.possibly_invalid_spec());
+ base::debug::SetCrashKeyValue(kActiveUrlCrashKey,
+ url.possibly_invalid_spec());
}
void GpuService::EstablishGpuChannel(
« chrome/app/mash/mash_runner.cc ('K') | « services/ui/gpu/gpu_service.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698