OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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 ANDROID_WEBVIEW_NATIVE_AW_RENDERER_PRIORITY_USER_DATA_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_RENDERER_PRIORITY_MANAGER_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_AW_RENDERER_PRIORITY_USER_DATA_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_AW_RENDERER_PRIORITY_MANAGER_H_ |
7 | 7 |
8 #include "base/supports_user_data.h" | 8 #include "base/supports_user_data.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
11 class RenderProcessHost; | 11 class RenderProcessHost; |
12 } | 12 } |
13 | 13 |
14 namespace android_webview { | 14 namespace android_webview { |
15 | 15 |
16 class AwRendererPriorityManager : public base::SupportsUserData::Data { | 16 class AwRendererPriorityManager : public base::SupportsUserData::Data { |
(...skipping 15 matching lines...) Expand all Loading... |
32 static void SetRendererPriorityOnLauncherThread( | 32 static void SetRendererPriorityOnLauncherThread( |
33 int pid, | 33 int pid, |
34 RendererPriority renderer_priority); | 34 RendererPriority renderer_priority); |
35 | 35 |
36 content::RenderProcessHost* host_; | 36 content::RenderProcessHost* host_; |
37 RendererPriority renderer_priority_; | 37 RendererPriority renderer_priority_; |
38 }; | 38 }; |
39 | 39 |
40 } // namespace android_webview | 40 } // namespace android_webview |
41 | 41 |
42 #endif // ANDROID_WEBVIEW_NATIVE_AW_RENDERER_PRIORITY_USER_DATA_H_ | 42 #endif // ANDROID_WEBVIEW_BROWSER_AW_RENDERER_PRIORITY_MANAGER_H_ |
OLD | NEW |