Urgent: whitelist hangouts.google.com further (should've been done in issue 1552383002 from Dec 2015, but...) to allow video effects plugin access; tag on meet.google.com for a similar purpose; tax: refactor whitelist checks into separate thing.
[email protected],[email protected],[email protected],[email protected],[email protected]
BUG=
Review-Url: https://codereview.chromium.org/1974413003
Cr-Commit-Position: refs/heads/master@{#395172}
diff --git a/chrome/renderer/app_categorizer.h b/chrome/renderer/app_categorizer.h
new file mode 100644
index 0000000..744a8dc
--- /dev/null
+++ b/chrome/renderer/app_categorizer.h
@@ -0,0 +1,16 @@
+// 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 CHROME_RENDERER_APP_CATEGORIZER_H_
+#define CHROME_RENDERER_APP_CATEGORIZER_H_
+
+class GURL;
+
+class AppCategorizer {
+ public:
+ static bool IsHangoutsUrl(const GURL& url);
+ static bool IsWhitelistedApp(const GURL& manifest_url, const GURL& app_url);
+};
+
+#endif // CHROME_RENDERER_APP_CATEGORIZER_H_