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

Side by Side Diff: chrome/browser/icon_manager_win.cc

Issue 12211049: Removing base::ThreadRestrictions::ScopedAllowIO from icon_manager_linux.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review changes. Created 7 years, 10 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/browser/icon_manager.h" 5 #include "chrome/browser/icon_manager.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 8
9 IconGroupID IconManager::GetGroupIDFromFilepath(const FilePath& filepath) { 9 IconGroupID IconManager::ReadGroupIDFromFilepath(const FilePath& filepath) {
10 std::wstring extension = filepath.Extension(); 10 std::wstring extension = filepath.Extension();
11 if (extension != L".exe" && extension != L".dll" && extension != L".ico") 11 if (extension != L".exe" && extension != L".dll" && extension != L".ico")
12 return extension; 12 return extension;
13 else 13 else
14 return filepath.value(); 14 return filepath.value();
15 } 15 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698