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

Side by Side Diff: content/renderer/browser_plugin/browser_plugin.cc

Issue 11233044: Browser Plugin: Add 'crashed' exit type (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | content/renderer/browser_plugin/browser_plugin_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/renderer/browser_plugin/browser_plugin.h" 5 #include "content/renderer/browser_plugin/browser_plugin.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #if defined (OS_WIN) 9 #if defined (OS_WIN)
10 #include "base/sys_info.h" 10 #include "base/sys_info.h"
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 const char kURL[] = "url"; 59 const char kURL[] = "url";
60 60
61 static std::string TerminationStatusToString(base::TerminationStatus status) { 61 static std::string TerminationStatusToString(base::TerminationStatus status) {
62 switch (status) { 62 switch (status) {
63 case base::TERMINATION_STATUS_NORMAL_TERMINATION: 63 case base::TERMINATION_STATUS_NORMAL_TERMINATION:
64 return "normal"; 64 return "normal";
65 case base::TERMINATION_STATUS_ABNORMAL_TERMINATION: 65 case base::TERMINATION_STATUS_ABNORMAL_TERMINATION:
66 return "abnormal"; 66 return "abnormal";
67 case base::TERMINATION_STATUS_PROCESS_WAS_KILLED: 67 case base::TERMINATION_STATUS_PROCESS_WAS_KILLED:
68 return "killed"; 68 return "killed";
69 case base::TERMINATION_STATUS_PROCESS_CRASHED:
70 return "crashed";
69 default: 71 default:
70 // This should never happen. 72 // This should never happen.
71 DCHECK(false); 73 DCHECK(false);
72 return "unknown"; 74 return "unknown";
73 } 75 }
74 } 76 }
75 } 77 }
76 78
77 BrowserPlugin::BrowserPlugin( 79 BrowserPlugin::BrowserPlugin(
78 int instance_id, 80 int instance_id,
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
849 void* notify_data) { 851 void* notify_data) {
850 } 852 }
851 853
852 void BrowserPlugin::didFailLoadingFrameRequest( 854 void BrowserPlugin::didFailLoadingFrameRequest(
853 const WebKit::WebURL& url, 855 const WebKit::WebURL& url,
854 void* notify_data, 856 void* notify_data,
855 const WebKit::WebURLError& error) { 857 const WebKit::WebURLError& error) {
856 } 858 }
857 859
858 } // namespace content 860 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/renderer/browser_plugin/browser_plugin_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698