| OLD | NEW | 
|   1 // Copyright 2015 The Chromium Authors. All rights reserved. |   1 // Copyright 2015 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 #ifndef CHROME_BROWSER_ANDROID_HUNG_RENDERER_INFOBAR_DELEGATE_H_ |   5 #ifndef CHROME_BROWSER_ANDROID_HUNG_RENDERER_INFOBAR_DELEGATE_H_ | 
|   6 #define CHROME_BROWSER_ANDROID_HUNG_RENDERER_INFOBAR_DELEGATE_H_ |   6 #define CHROME_BROWSER_ANDROID_HUNG_RENDERER_INFOBAR_DELEGATE_H_ | 
|   7  |   7  | 
 |   8 #include "base/macros.h" | 
|   8 #include "components/infobars/core/confirm_infobar_delegate.h" |   9 #include "components/infobars/core/confirm_infobar_delegate.h" | 
|   9  |  10  | 
|  10 namespace content { |  11 namespace content { | 
|  11 class RenderProcessHost; |  12 class RenderProcessHost; | 
|  12 } |  13 } | 
|  13  |  14  | 
|  14 class InfoBarService; |  15 class InfoBarService; | 
|  15  |  16  | 
|  16 // A hung renderer infobar is shown when the when the renderer is deemed |  17 // A hung renderer infobar is shown when the when the renderer is deemed | 
|  17 // unresponsive. The infobar provides the user with a choice of either |  18 // unresponsive. The infobar provides the user with a choice of either | 
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  59  |  60  | 
|  60   // Used to terminate the renderer process if the user clicks the kill button. |  61   // Used to terminate the renderer process if the user clicks the kill button. | 
|  61   content::RenderProcessHost* render_process_host_; |  62   content::RenderProcessHost* render_process_host_; | 
|  62  |  63  | 
|  63   bool terminal_event_logged_for_uma_; |  64   bool terminal_event_logged_for_uma_; | 
|  64  |  65  | 
|  65   DISALLOW_COPY_AND_ASSIGN(HungRendererInfoBarDelegate); |  66   DISALLOW_COPY_AND_ASSIGN(HungRendererInfoBarDelegate); | 
|  66 }; |  67 }; | 
|  67  |  68  | 
|  68 #endif  // CHROME_BROWSER_ANDROID_HUNG_RENDERER_INFOBAR_DELEGATE_H_ |  69 #endif  // CHROME_BROWSER_ANDROID_HUNG_RENDERER_INFOBAR_DELEGATE_H_ | 
| OLD | NEW |