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

Side by Side Diff: chrome/browser/win/jumplist_updater.cc

Issue 2098713003: Moved a bunch of win-specific files to the new win folder in chrome/browser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/jumplist_updater_win.h" 5 #include "chrome/browser/win/jumplist_updater.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <propkey.h> 8 #include <propkey.h>
9 #include <shobjidl.h> 9 #include <shobjidl.h>
10 10
11 #include "base/command_line.h" 11 #include "base/command_line.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/path_service.h" 13 #include "base/path_service.h"
14 #include "base/win/win_util.h" 14 #include "base/win/win_util.h"
15 #include "base/win/windows_version.h" 15 #include "base/win/windows_version.h"
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 // It seems the ICustomDestinationList::AppendCategory() function just 235 // It seems the ICustomDestinationList::AppendCategory() function just
236 // replaces all items in the given category with the ones in the new list. 236 // replaces all items in the given category with the ones in the new list.
237 base::win::ScopedComPtr<IObjectArray> object_array; 237 base::win::ScopedComPtr<IObjectArray> object_array;
238 result = collection.QueryInterface(object_array.Receive()); 238 result = collection.QueryInterface(object_array.Receive());
239 if (FAILED(result)) 239 if (FAILED(result))
240 return false; 240 return false;
241 241
242 return SUCCEEDED(destination_list_->AppendCategory(category_name.c_str(), 242 return SUCCEEDED(destination_list_->AppendCategory(category_name.c_str(),
243 object_array.get())); 243 object_array.get()));
244 } 244 }
OLDNEW
« no previous file with comments | « chrome/browser/win/jumplist_updater.h ('k') | chrome/browser/win/private_working_set_snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698