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

Side by Side Diff: chrome/browser/chromeos/drive/drive_cache.h

Issue 11106007: drive: Rename 'gdata' namespace to 'drive' in chrome/browser/chromeos/drive (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 2 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 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_CACHE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_CACHE_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_CACHE_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_CACHE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback_forward.h" 11 #include "base/callback_forward.h"
12 #include "base/file_path.h" 12 #include "base/file_path.h"
13 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/observer_list.h" 15 #include "base/observer_list.h"
16 #include "chrome/browser/chromeos/drive/drive_file_error.h" 16 #include "chrome/browser/chromeos/drive/drive_file_error.h"
17 17
18 class Profile; 18 class Profile;
19 19
20 namespace base { 20 namespace base {
21 21
22 class SequencedTaskRunner; 22 class SequencedTaskRunner;
23 23
24 } // namespace base 24 } // namespace base
25 25
26 namespace gdata { 26 namespace drive {
27 27
28 class DriveCacheEntry; 28 class DriveCacheEntry;
29 class DriveCacheMetadata; 29 class DriveCacheMetadata;
30 class DriveCacheObserver; 30 class DriveCacheObserver;
31 31
32 // Callback for SetMountedStateOnUIThread and ClearAllOnUIThread. 32 // Callback for SetMountedStateOnUIThread and ClearAllOnUIThread.
33 typedef base::Callback<void(DriveFileError error, 33 typedef base::Callback<void(DriveFileError error,
34 const FilePath& file_path)> 34 const FilePath& file_path)>
35 ChangeCacheStateCallback; 35 ChangeCacheStateCallback;
36 36
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 public: 457 public:
458 virtual ~FreeDiskSpaceGetterInterface() {} 458 virtual ~FreeDiskSpaceGetterInterface() {}
459 virtual int64 AmountOfFreeDiskSpace() const = 0; 459 virtual int64 AmountOfFreeDiskSpace() const = 0;
460 }; 460 };
461 461
462 // Sets the free disk space getter for testing. 462 // Sets the free disk space getter for testing.
463 // The existing getter is deleted. 463 // The existing getter is deleted.
464 void SetFreeDiskSpaceGetterForTesting( 464 void SetFreeDiskSpaceGetterForTesting(
465 FreeDiskSpaceGetterInterface* getter); 465 FreeDiskSpaceGetterInterface* getter);
466 466
467 } // namespace gdata 467 } // namespace drive
468 468
469 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_CACHE_H_ 469 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_CACHE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/drive_api_service.cc ('k') | chrome/browser/chromeos/drive/drive_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698