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

Unified Diff: content/renderer/media/mock_media_constraint_factory.h

Issue 1729683002: Remove old-style constraints from Chrome internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Complete the interface change Created 4 years, 9 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: content/renderer/media/mock_media_constraint_factory.h
diff --git a/content/renderer/media/mock_media_constraint_factory.h b/content/renderer/media/mock_media_constraint_factory.h
deleted file mode 100644
index 3ea20bcd0b36e147d685aadb580b3aea2427827f..0000000000000000000000000000000000000000
--- a/content/renderer/media/mock_media_constraint_factory.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CONTENT_RENDERER_MEDIA_MOCK_MEDIA_CONSTRAINT_FACTORY_H_
-#define CONTENT_RENDERER_MEDIA_MOCK_MEDIA_CONSTRAINT_FACTORY_H_
-
-#include <string>
-#include <vector>
-
-#include "third_party/WebKit/public/platform/WebMediaConstraints.h"
-
-namespace content {
-
-class MockMediaConstraintFactory {
- public:
- MockMediaConstraintFactory();
- ~MockMediaConstraintFactory();
-
- blink::WebMediaConstraints CreateWebMediaConstraints() const;
- void AddMandatory(const std::string& key, int value);
- void AddMandatory(const std::string& key, double value);
- void AddMandatory(const std::string& key, const std::string& value);
- void AddMandatory(const std::string& key, bool value);
- void AddOptional(const std::string& key, int value);
- void AddOptional(const std::string& key, double value);
- void AddOptional(const std::string& key, const std::string& value);
- void AddOptional(const std::string& key, bool value);
- void DisableDefaultAudioConstraints();
-
- private:
- std::vector<blink::WebMediaConstraint> mandatory_;
- std::vector<blink::WebMediaConstraint> optional_;
-};
-
-} // namespace content
-
-#endif // CONTENT_RENDERER_MEDIA_MOCK_MEDIA_CONSTRAINT_FACTORY_H_
« no previous file with comments | « content/renderer/media/mock_constraint_factory.cc ('k') | content/renderer/media/mock_media_constraint_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698