projects
/
platform
/
framework
/
web
/
crosswalk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git]
/
src
/
chrome
/
renderer
/
extensions
/
dispatcher.h
diff --git
a/src/chrome/renderer/extensions/dispatcher.h
b/src/chrome/renderer/extensions/dispatcher.h
index
bcdece9
..
57a52e4
100644
(file)
--- a/
src/chrome/renderer/extensions/dispatcher.h
+++ b/
src/chrome/renderer/extensions/dispatcher.h
@@
-143,6
+143,8
@@
class Dispatcher : public content::RenderProcessObserver {
const base::ListValue& args,
bool user_gesture);
const base::ListValue& args,
bool user_gesture);
+ void ClearPortData(int port_id);
+
private:
friend class ::ChromeRenderViewTest;
FRIEND_TEST_ALL_PREFIXES(RendererPermissionsPolicyDelegateTest,
private:
friend class ::ChromeRenderViewTest;
FRIEND_TEST_ALL_PREFIXES(RendererPermissionsPolicyDelegateTest,
@@
-309,6
+311,9
@@
class Dispatcher : public content::RenderProcessObserver {
std::string system_font_family_;
std::string system_font_size_;
std::string system_font_family_;
std::string system_font_size_;
+ // Mapping of port IDs to tabs. If there is no tab, the value would be -1.
+ std::map<int, int> port_to_tab_id_map_;
+
DISALLOW_COPY_AND_ASSIGN(Dispatcher);
};
DISALLOW_COPY_AND_ASSIGN(Dispatcher);
};