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

Side by Side Diff: chrome/browser/chromeos/gdata/drive_cache.cc

Issue 10910209: Add new PathService paths for Windows' All Users Desktop and Quick Launch folders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile post-merge Created 8 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/chromeos/gdata/drive_cache.h" 5 #include "chrome/browser/chromeos/gdata/drive_cache.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/base_paths_posix.h"
9 #include "base/file_util.h" 10 #include "base/file_util.h"
10 #include "base/logging.h" 11 #include "base/logging.h"
11 #include "base/path_service.h" 12 #include "base/path_service.h"
12 #include "base/stringprintf.h" 13 #include "base/stringprintf.h"
13 #include "base/string_util.h" 14 #include "base/string_util.h"
14 #include "base/sys_info.h" 15 #include "base/sys_info.h"
15 #include "chrome/browser/chromeos/gdata/drive.pb.h" 16 #include "chrome/browser/chromeos/gdata/drive.pb.h"
16 #include "chrome/browser/chromeos/gdata/drive_cache_metadata.h" 17 #include "chrome/browser/chromeos/gdata/drive_cache_metadata.h"
17 #include "chrome/browser/chromeos/gdata/drive_file_system_util.h" 18 #include "chrome/browser/chromeos/gdata/drive_file_system_util.h"
18 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
(...skipping 1559 matching lines...) Expand 10 before | Expand all | Expand 10 after
1578 const DriveCacheEntry& cache_entry) { 1579 const DriveCacheEntry& cache_entry) {
1579 return cache_entry.is_persistent() ? CACHE_TYPE_PERSISTENT : CACHE_TYPE_TMP; 1580 return cache_entry.is_persistent() ? CACHE_TYPE_PERSISTENT : CACHE_TYPE_TMP;
1580 } 1581 }
1581 1582
1582 void SetFreeDiskSpaceGetterForTesting(FreeDiskSpaceGetterInterface* getter) { 1583 void SetFreeDiskSpaceGetterForTesting(FreeDiskSpaceGetterInterface* getter) {
1583 delete global_free_disk_getter_for_testing; // Safe to delete NULL; 1584 delete global_free_disk_getter_for_testing; // Safe to delete NULL;
1584 global_free_disk_getter_for_testing = getter; 1585 global_free_disk_getter_for_testing = getter;
1585 } 1586 }
1586 1587
1587 } // namespace gdata 1588 } // namespace gdata
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698