| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_EXTENSIONS_CHROME_EXTENSION_WEB_CONTENTS_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_WEB_CONTENTS_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_WEB_CONTENTS_OBSERVER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_WEB_CONTENTS_OBSERVER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 52 void OnDetailedConsoleMessageAdded( | 52 void OnDetailedConsoleMessageAdded( |
| 53 content::RenderFrameHost* render_frame_host, | 53 content::RenderFrameHost* render_frame_host, |
| 54 const base::string16& message, | 54 const base::string16& message, |
| 55 const base::string16& source, | 55 const base::string16& source, |
| 56 const StackTrace& stack_trace, | 56 const StackTrace& stack_trace, |
| 57 int32_t severity_level); | 57 int32_t severity_level); |
| 58 | 58 |
| 59 // Reloads an extension if it is on the terminated list. | 59 // Reloads an extension if it is on the terminated list. |
| 60 void ReloadIfTerminated(content::RenderViewHost* render_view_host); | 60 void ReloadIfTerminated(content::RenderViewHost* render_view_host); |
| 61 | 61 |
| 62 // Determines which bucket of a synthetic field trial this client belongs | |
| 63 // to and sets it. | |
| 64 void SetExtensionIsolationTrial(content::RenderFrameHost* render_frame_host); | |
| 65 | |
| 66 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionWebContentsObserver); | 62 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionWebContentsObserver); |
| 67 }; | 63 }; |
| 68 | 64 |
| 69 } // namespace extensions | 65 } // namespace extensions |
| 70 | 66 |
| 71 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_WEB_CONTENTS_OBSERVER_H_ | 67 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSION_WEB_CONTENTS_OBSERVER_H_ |
| OLD | NEW |