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

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

Issue 2826: Move the download code to new directories: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 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
« no previous file with comments | « chrome/browser/browsing_data_remover.cc ('k') | chrome/browser/download/download_file.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:mergeinfo
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_util.h" 8 #include "chrome/browser/download/download_util.h"
9 9
10 namespace download_util { 10 namespace download_util {
11 11
12 // For file extensions taken from mozilla: 12 // For file extensions taken from mozilla:
13 13
14 /* ***** BEGIN LICENSE BLOCK ***** 14 /* ***** BEGIN LICENSE BLOCK *****
15 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 15 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
16 * 16 *
17 * The contents of this file are subject to the Mozilla Public License Version 17 * 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 18 * 1.1 (the "License"); you may not use this file except in compliance with
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 }; 128 };
129 129
130 void InitializeExeTypes(std::set<std::wstring>* exe_extensions) { 130 void InitializeExeTypes(std::set<std::wstring>* exe_extensions) {
131 DCHECK(exe_extensions); 131 DCHECK(exe_extensions);
132 for (size_t i = 0; i < arraysize(g_executables); ++i) 132 for (size_t i = 0; i < arraysize(g_executables); ++i)
133 exe_extensions->insert(g_executables[i]); 133 exe_extensions->insert(g_executables[i]);
134 } 134 }
135 135
136 } // namespace download_util 136 } // namespace download_util
137 137
OLDNEW
« no previous file with comments | « chrome/browser/browsing_data_remover.cc ('k') | chrome/browser/download/download_file.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698