| OLD | NEW | 
|---|
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_DISPLAY_SOURCE_SESSION_H_ | 5 #ifndef EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_DISPLAY_SOURCE_SESSION_H_ | 
| 6 #define EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_DISPLAY_SOURCE_SESSION_H_ | 6 #define EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_DISPLAY_SOURCE_SESSION_H_ | 
| 7 | 7 | 
| 8 #include "base/callback.h" | 8 #include "base/callback.h" | 
| 9 #include "base/macros.h" | 9 #include "base/macros.h" | 
|  | 10 #include "base/memory/scoped_ptr.h" | 
| 10 #include "extensions/common/api/display_source.h" | 11 #include "extensions/common/api/display_source.h" | 
| 11 #include "third_party/WebKit/public/web/WebDOMMediaStreamTrack.h" | 12 #include "third_party/WebKit/public/web/WebDOMMediaStreamTrack.h" | 
| 12 | 13 | 
| 13 namespace content { | 14 namespace content { | 
| 14 class RenderFrame; | 15 class RenderFrame; | 
| 15 } | 16 } | 
| 16 | 17 | 
| 17 namespace extensions { | 18 namespace extensions { | 
| 18 | 19 | 
| 19 using DisplaySourceAuthInfo = api::display_source::AuthenticationInfo; | 20 using DisplaySourceAuthInfo = api::display_source::AuthenticationInfo; | 
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 106  public: | 107  public: | 
| 107   static scoped_ptr<DisplaySourceSession> CreateSession( | 108   static scoped_ptr<DisplaySourceSession> CreateSession( | 
| 108       const DisplaySourceSessionParams& params); | 109       const DisplaySourceSessionParams& params); | 
| 109  private: | 110  private: | 
| 110   DISALLOW_COPY_AND_ASSIGN(DisplaySourceSessionFactory); | 111   DISALLOW_COPY_AND_ASSIGN(DisplaySourceSessionFactory); | 
| 111 }; | 112 }; | 
| 112 | 113 | 
| 113 }  // namespace extensions | 114 }  // namespace extensions | 
| 114 | 115 | 
| 115 #endif  // EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_DISPLAY_SOURCE_SESSION_H_ | 116 #endif  // EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_DISPLAY_SOURCE_SESSION_H_ | 
| OLD | NEW | 
|---|