Index: content/public/browser/presentation_session.cc |
diff --git a/content/public/browser/presentation_session.cc b/content/public/browser/presentation_session.cc |
index ceca42d9f895fd37093852e491022a92650c13af..6dce417e040a3fd1c941fa0fbd7bc69a5e6ba3de 100644 |
--- a/content/public/browser/presentation_session.cc |
+++ b/content/public/browser/presentation_session.cc |
@@ -9,7 +9,17 @@ namespace content { |
PresentationSessionInfo::PresentationSessionInfo( |
const GURL& presentation_url, |
const std::string& presentation_id) |
- : presentation_url(presentation_url), presentation_id(presentation_id) {} |
+ : presentation_url(presentation_url), |
imcheng
2016/11/01 17:20:29
nit: Use the delegated constructor pattern: Presen
zhaobin
2016/11/02 03:55:47
Done.
|
+ presentation_id(presentation_id), |
+ is_offscreen(false) {} |
+ |
+PresentationSessionInfo::PresentationSessionInfo( |
+ const GURL& presentation_url, |
+ const std::string& presentation_id, |
+ bool is_offscreen) |
+ : presentation_url(presentation_url), |
+ presentation_id(presentation_id), |
+ is_offscreen(is_offscreen) {} |
PresentationSessionInfo::~PresentationSessionInfo() { |
} |