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

Unified Diff: device/capture/content/smooth_event_sampler.cc

Issue 2214533002: move //media/capture to //device/capture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: device/capture/content/smooth_event_sampler.cc
diff --git a/media/capture/content/smooth_event_sampler.cc b/device/capture/content/smooth_event_sampler.cc
similarity index 95%
rename from media/capture/content/smooth_event_sampler.cc
rename to device/capture/content/smooth_event_sampler.cc
index 7f7297f2038192655b24528e4ae29db1778d1c53..208221bba02087ddd96fd337582bd9f916783c00 100644
--- a/media/capture/content/smooth_event_sampler.cc
+++ b/device/capture/content/smooth_event_sampler.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "media/capture/content/smooth_event_sampler.h"
+#include "device/capture/content/smooth_event_sampler.h"
#include <stdint.h>
@@ -10,7 +10,7 @@
#include "base/trace_event/trace_event.h"
-namespace media {
+namespace device {
SmoothEventSampler::SmoothEventSampler(base::TimeDelta min_capture_period)
: token_bucket_(base::TimeDelta::Max()) {
@@ -64,4 +64,4 @@ bool SmoothEventSampler::HasUnrecordedEvent() const {
return !current_event_.is_null() && current_event_ != last_sample_;
}
-} // namespace media
+} // namespace device
« no previous file with comments | « device/capture/content/smooth_event_sampler.h ('k') | device/capture/content/smooth_event_sampler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698