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

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

Issue 2047633002: Revert of Remove base/move.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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"
14 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
15 #include "base/threading/thread_checker.h" 16 #include "base/threading/thread_checker.h"
16 #include "extensions/renderer/api/display_source/wifi_display/wifi_display_eleme ntary_stream_info.h" 17 #include "extensions/renderer/api/display_source/wifi_display/wifi_display_eleme ntary_stream_info.h"
17 18
18 namespace extensions { 19 namespace extensions {
19 20
20 // This structure represents an encoded media unit such as a video frame or 21 // This structure represents an encoded media unit such as a video frame or
21 // a number of audio frames. 22 // a number of audio frames.
22 struct WiFiDisplayEncodedUnit { 23 struct WiFiDisplayEncodedUnit {
23 WiFiDisplayEncodedUnit(std::string data, 24 WiFiDisplayEncodedUnit(std::string data,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 virtual ~WiFiDisplayMediaEncoder(); 72 virtual ~WiFiDisplayMediaEncoder();
72 73
73 base::ThreadChecker client_thread_checker_; 74 base::ThreadChecker client_thread_checker_;
74 EncodedUnitCallback encoded_callback_; 75 EncodedUnitCallback encoded_callback_;
75 base::Closure error_callback_; 76 base::Closure error_callback_;
76 }; 77 };
77 78
78 } // namespace extensions 79 } // namespace extensions
79 80
80 #endif // EXTENSIONS_RENDERER_API_DISPLAY_SOURCE_WIFI_DISPLAY_WIFI_DISPLAY_MEDI A_ENCODER_H_ 81 #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