Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Side by Side Diff: extensions/renderer/api/display_source/wifi_display/wifi_display_media_encoder.h

Issue 2038273002: Remove base/move.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: is_constructible Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_WIFI_DISPLAY_WIFI_DISPLAY_MEDIA_E NCODER_H_ 5 #ifndef EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_MEDIA_E NCODER_H_
6 #define EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_MEDIA_E NCODER_H_ 6 #define EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_MEDIA_E NCODER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/move.h"
15 #include "base/single_thread_task_runner.h" 14 #include "base/single_thread_task_runner.h"
16 #include "base/threading/thread_checker.h" 15 #include "base/threading/thread_checker.h"
17 #include "extensions/renderer/api/display_source/wifi_display/wifi_display_eleme ntary_stream_info.h" 16 #include "extensions/renderer/api/display_source/wifi_display/wifi_display_eleme ntary_stream_info.h"
18 17
19 namespace extensions { 18 namespace extensions {
20 19
21 // This structure represents an encoded media unit such as a video frame or 20 // This structure represents an encoded media unit such as a video frame or
22 // a number of audio frames. 21 // a number of audio frames.
23 struct WiFiDisplayEncodedUnit { 22 struct WiFiDisplayEncodedUnit {
24 WiFiDisplayEncodedUnit(std::string data, 23 WiFiDisplayEncodedUnit(std::string data,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 virtual ~WiFiDisplayMediaEncoder(); 71 virtual ~WiFiDisplayMediaEncoder();
73 72
74 base::ThreadChecker client_thread_checker_; 73 base::ThreadChecker client_thread_checker_;
75 EncodedUnitCallback encoded_callback_; 74 EncodedUnitCallback encoded_callback_;
76 base::Closure error_callback_; 75 base::Closure error_callback_;
77 }; 76 };
78 77
79 } // namespace extensions 78 } // namespace extensions
80 79
81 #endif // EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_MEDI A_ENCODER_H_ 80 #endif // EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_MEDI A_ENCODER_H_
OLDNEW
« no previous file with comments | « dbus/file_descriptor.h ('k') | extensions/renderer/api/display_source/wifi_display/wifi_display_media_packetizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698