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 #include "chrome/browser/guest_view/web_view/web_view_renderer_state.h" | |
6 #include "content/public/browser/browser_thread.h" | 5 #include "content/public/browser/browser_thread.h" |
| 6 #include "extensions/browser/guest_view/web_view/web_view_renderer_state.h" |
7 | 7 |
8 using content::BrowserThread; | 8 using content::BrowserThread; |
9 | 9 |
10 namespace extensions { | 10 namespace extensions { |
11 | 11 |
12 // static | 12 // static |
13 WebViewRendererState* WebViewRendererState::GetInstance() { | 13 WebViewRendererState* WebViewRendererState::GetInstance() { |
14 return Singleton<WebViewRendererState>::get(); | 14 return Singleton<WebViewRendererState>::get(); |
15 } | 15 } |
16 | 16 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 WebViewPartitionIDMap::iterator iter = | 76 WebViewPartitionIDMap::iterator iter = |
77 webview_partition_id_map_.find(guest_process_id); | 77 webview_partition_id_map_.find(guest_process_id); |
78 if (iter != webview_partition_id_map_.end()) { | 78 if (iter != webview_partition_id_map_.end()) { |
79 *partition_id = iter->second.partition_id; | 79 *partition_id = iter->second.partition_id; |
80 return true; | 80 return true; |
81 } | 81 } |
82 return false; | 82 return false; |
83 } | 83 } |
84 | 84 |
85 } // namespace extensions | 85 } // namespace extensions |
OLD | NEW |