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

Unified Diff: chrome/common/extensions/permissions/permission_message_util.h

Issue 201203006: Move basic API permissions code out of //chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move moar things Created 6 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: chrome/common/extensions/permissions/permission_message_util.h
diff --git a/chrome/common/extensions/permissions/permission_message_util.h b/chrome/common/extensions/permissions/permission_message_util.h
deleted file mode 100644
index 13b41c196ee6df48f95034c74725e39359168820..0000000000000000000000000000000000000000
--- a/chrome/common/extensions/permissions/permission_message_util.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2013 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_COMMON_EXTENSIONS_PERMISSIONS_PERMISSION_MESSAGE_UTIL_H_
-#define CHROME_COMMON_EXTENSIONS_PERMISSIONS_PERMISSION_MESSAGE_UTIL_H_
-
-#include <set>
-#include <string>
-
-namespace extensions {
-class PermissionMessage;
-class PermissionSet;
-class URLPatternSet;
-}
-
-namespace permission_message_util {
-
-// Creates the corresponding permission message for a list of hosts.
-// The messages change depending on what hosts are present.
-extensions::PermissionMessage CreateFromHostList(
- const std::set<std::string>& hosts);
-
-std::set<std::string> GetDistinctHosts(
- const extensions::URLPatternSet& host_patterns,
- bool include_rcd,
- bool exclude_file_scheme);
-
-} // namespace permission_message_util
-
-#endif // CHROME_COMMON_EXTENSIONS_PERMISSIONS_PERMISSION_MESSAGE_UTIL_H_

Powered by Google App Engine
This is Rietveld 408576698