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

Side by Side Diff: net/tools/tld_cleanup/tld_cleanup_util.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_TOOLS_TLD_CLEANUP_TLD_CLEANUP_UTIL_H_ 5 #ifndef NET_TOOLS_TLD_CLEANUP_TLD_CLEANUP_UTIL_H_
6 #define NET_TOOLS_TLD_CLEANUP_TLD_CLEANUP_UTIL_H_ 6 #define NET_TOOLS_TLD_CLEANUP_TLD_CLEANUP_UTIL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 21 matching lines...) Expand all
32 32
33 // Loads the file described by |in_filename|, converts it to the desired format 33 // Loads the file described by |in_filename|, converts it to the desired format
34 // (see the file comments in tld_cleanup.cc), and saves it into |out_filename|. 34 // (see the file comments in tld_cleanup.cc), and saves it into |out_filename|.
35 // Returns the most severe of the result codes encountered when normalizing the 35 // Returns the most severe of the result codes encountered when normalizing the
36 // rules. 36 // rules.
37 NormalizeResult NormalizeFile(const base::FilePath& in_filename, 37 NormalizeResult NormalizeFile(const base::FilePath& in_filename,
38 const base::FilePath& out_filename); 38 const base::FilePath& out_filename);
39 39
40 // Parses |data|, and converts it to the internal data format RuleMap. Returns 40 // Parses |data|, and converts it to the internal data format RuleMap. Returns
41 // the most severe of the result codes encountered when normalizing the rules. 41 // the most severe of the result codes encountered when normalizing the rules.
42 NormalizeResult NormalizeDataToRuleMap(const std::string data, 42 NormalizeResult NormalizeDataToRuleMap(const std::string data, RuleMap* rules);
43 RuleMap* rules);
44 43
45 } // namespace tld_cleanup 44 } // namespace tld_cleanup
46 } // namespace net 45 } // namespace net
47 46
48 #endif // NET_TOOLS_TLD_CLEANUP_TLD_CLEANUP_UTIL_H_ 47 #endif // NET_TOOLS_TLD_CLEANUP_TLD_CLEANUP_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698