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

Unified Diff: net/tools/tld_cleanup/tld_cleanup_util.h

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
« no previous file with comments | « net/tools/tld_cleanup/tld_cleanup.gyp ('k') | net/tools/tld_cleanup/tld_cleanup_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/tld_cleanup/tld_cleanup_util.h
diff --git a/net/tools/tld_cleanup/tld_cleanup_util.h b/net/tools/tld_cleanup/tld_cleanup_util.h
deleted file mode 100644
index 5900206bac8612de26f8f5444e97f8d9a006552f..0000000000000000000000000000000000000000
--- a/net/tools/tld_cleanup/tld_cleanup_util.h
+++ /dev/null
@@ -1,48 +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 NET_TOOLS_TLD_CLEANUP_TLD_CLEANUP_UTIL_H_
-#define NET_TOOLS_TLD_CLEANUP_TLD_CLEANUP_UTIL_H_
-
-#include <map>
-#include <string>
-
-namespace base {
-class FilePath;
-} // namespace base
-
-namespace net {
-namespace tld_cleanup {
-
-struct Rule {
- bool exception;
- bool wildcard;
- bool is_private;
-};
-
-typedef std::map<std::string, Rule> RuleMap;
-
-// These result codes should be in increasing order of severity.
-typedef enum {
- kSuccess,
- kWarning,
- kError,
-} NormalizeResult;
-
-// Loads the file described by |in_filename|, converts it to the desired format
-// (see the file comments in tld_cleanup.cc), and saves it into |out_filename|.
-// Returns the most severe of the result codes encountered when normalizing the
-// rules.
-NormalizeResult NormalizeFile(const base::FilePath& in_filename,
- const base::FilePath& out_filename);
-
-// Parses |data|, and converts it to the internal data format RuleMap. Returns
-// the most severe of the result codes encountered when normalizing the rules.
-NormalizeResult NormalizeDataToRuleMap(const std::string data,
- RuleMap* rules);
-
-} // namespace tld_cleanup
-} // namespace net
-
-#endif // NET_TOOLS_TLD_CLEANUP_TLD_CLEANUP_UTIL_H_
« no previous file with comments | « net/tools/tld_cleanup/tld_cleanup.gyp ('k') | net/tools/tld_cleanup/tld_cleanup_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698