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

Unified Diff: content/child/experiments/api_key_validator.h

Issue 1635593004: Rename Experimental Framework classes and concepts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 11 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
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/experiments/api_key_validator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/experiments/api_key_validator.h
diff --git a/content/child/experiments/api_key_validator.h b/content/child/experiments/api_key_validator.h
deleted file mode 100644
index 1be8434b2ab7f6d43ea2700cb826a75a96c2be94..0000000000000000000000000000000000000000
--- a/content/child/experiments/api_key_validator.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright 2016 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_CHILD_EXPERIMENTS_API_KEY_VALIDATOR_H_
-#define CONTENT_CHILD_EXPERIMENTS_API_KEY_VALIDATOR_H_
-
-#include <string>
-#include "third_party/WebKit/public/platform/WebApiKeyValidator.h"
-
-namespace content {
-
-// The ApiKeyValidator is called by the Experimental Framework code in Blink to
-// validate tokens to enable experimental APIs.
-//
-// This class is thread-safe.
-class ApiKeyValidator : public blink::WebApiKeyValidator {
- public:
- ApiKeyValidator();
- ~ApiKeyValidator() override;
-
- // blink::WebApiKeyValidator implementation
- bool validateApiKey(const blink::WebString& apiKey,
- const blink::WebString& origin,
- const blink::WebString& apiName) override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ApiKeyValidator);
-};
-
-} // namespace content
-
-#endif // CONTENT_CHILD_EXPERIMENTS_API_KEY_VALIDATOR_H_
« no previous file with comments | « content/child/blink_platform_impl.cc ('k') | content/child/experiments/api_key_validator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698