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

Side by Side Diff: chrome/browser/download/download_exe.cc

Issue 43148: Remove unneeded uses of logging.h in header files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include <set> 5 #include <set>
6 #include <string> 6 #include <string>
7 7
8 #include "chrome/browser/download/download_util.h" 8 #include "chrome/browser/download/download_util.h"
9 9
10 #include "base/logging.h"
11
10 namespace download_util { 12 namespace download_util {
11 13
12 // For file extensions taken from mozilla: 14 // For file extensions taken from mozilla:
13 15
14 /* ***** BEGIN LICENSE BLOCK ***** 16 /* ***** BEGIN LICENSE BLOCK *****
15 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 17 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
16 * 18 *
17 * The contents of this file are subject to the Mozilla Public License Version 19 * The contents of this file are subject to the Mozilla Public License Version
18 * 1.1 (the "License"); you may not use this file except in compliance with 20 * 1.1 (the "License"); you may not use this file except in compliance with
19 * the License. You may obtain a copy of the License at 21 * the License. You may obtain a copy of the License at
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 "xhtml" 139 "xhtml"
138 }; 140 };
139 141
140 void InitializeExeTypes(std::set<std::string>* exe_extensions) { 142 void InitializeExeTypes(std::set<std::string>* exe_extensions) {
141 DCHECK(exe_extensions); 143 DCHECK(exe_extensions);
142 for (size_t i = 0; i < arraysize(g_executables); ++i) 144 for (size_t i = 0; i < arraysize(g_executables); ++i)
143 exe_extensions->insert(g_executables[i]); 145 exe_extensions->insert(g_executables[i]);
144 } 146 }
145 147
146 } // namespace download_util 148 } // namespace download_util
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698