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

Side by Side Diff: content/browser/frame_host/debug_urls.cc

Issue 525513003: Cleanup: Put more plugin code behind the ENABLE_PLUGINS ifdef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/frame_host/debug_urls.h" 5 #include "content/browser/frame_host/debug_urls.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/debug/asan_invalid_access.h" 10 #include "base/debug/asan_invalid_access.h"
11 #include "base/debug/profiler.h" 11 #include "base/debug/profiler.h"
12 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "cc/base/switches.h" 13 #include "cc/base/switches.h"
14 #include "content/browser/gpu/gpu_process_host_ui_shim.h" 14 #include "content/browser/gpu/gpu_process_host_ui_shim.h"
15 #include "content/browser/ppapi_plugin_process_host.h"
16 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
17 #include "content/public/common/content_constants.h" 16 #include "content/public/common/content_constants.h"
18 #include "content/public/common/url_constants.h" 17 #include "content/public/common/url_constants.h"
19 #include "ppapi/proxy/ppapi_messages.h" 18 #include "ppapi/proxy/ppapi_messages.h"
20 #include "url/gurl.h" 19 #include "url/gurl.h"
21 20
21 #if defined(ENABLE_PLUGINS)
22 #include "content/browser/ppapi_plugin_process_host.h"
23 #endif
24
22 namespace content { 25 namespace content {
23 26
24 namespace { 27 namespace {
25 28
26 // Define the Asan debug URLs. 29 // Define the Asan debug URLs.
27 const char kAsanCrashDomain[] = "crash"; 30 const char kAsanCrashDomain[] = "crash";
28 const char kAsanHeapOverflow[] = "/browser-heap-overflow"; 31 const char kAsanHeapOverflow[] = "/browser-heap-overflow";
29 const char kAsanHeapUnderflow[] = "/browser-heap-underflow"; 32 const char kAsanHeapUnderflow[] = "/browser-heap-underflow";
30 const char kAsanUseAfterFree[] = "/browser-use-after-free"; 33 const char kAsanUseAfterFree[] = "/browser-use-after-free";
31 #if defined(SYZYASAN) 34 #if defined(SYZYASAN)
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 return true; 170 return true;
168 171
169 return url == GURL(kChromeUICrashURL) || 172 return url == GURL(kChromeUICrashURL) ||
170 url == GURL(kChromeUIDumpURL) || 173 url == GURL(kChromeUIDumpURL) ||
171 url == GURL(kChromeUIKillURL) || 174 url == GURL(kChromeUIKillURL) ||
172 url == GURL(kChromeUIHangURL) || 175 url == GURL(kChromeUIHangURL) ||
173 url == GURL(kChromeUIShorthangURL); 176 url == GURL(kChromeUIShorthangURL);
174 } 177 }
175 178
176 } // namespace content 179 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/download/download_browsertest.cc ('k') | content/browser/loader/buffered_resource_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698