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

Side by Side Diff: components/drive/fake_free_disk_space_getter.h

Issue 1296483003: Move chrome/browser/chromeos/drive/resource* (+deps) into components/drive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 5 years, 4 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
« no previous file with comments | « components/drive/DEPS ('k') | components/drive/fake_free_disk_space_getter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_FAKE_FREE_DISK_SPACE_GETTER_H_ 5 #ifndef COMPONENTS_DRIVE_FAKE_FREE_DISK_SPACE_GETTER_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_FREE_DISK_SPACE_GETTER_H_ 6 #define COMPONENTS_DRIVE_FAKE_FREE_DISK_SPACE_GETTER_H_
7 7
8 #include <list> 8 #include <list>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "chrome/browser/chromeos/drive/file_cache.h" 11 #include "components/drive/file_cache.h"
12 12
13 namespace drive { 13 namespace drive {
14 14
15 // This class is used to report fake free disk space. In particular, this 15 // This class is used to report fake free disk space. In particular, this
16 // class can be used to simulate a case where disk is full, or nearly full. 16 // class can be used to simulate a case where disk is full, or nearly full.
17 class FakeFreeDiskSpaceGetter : public internal::FreeDiskSpaceGetterInterface { 17 class FakeFreeDiskSpaceGetter : public internal::FreeDiskSpaceGetterInterface {
18 public: 18 public:
19 FakeFreeDiskSpaceGetter(); 19 FakeFreeDiskSpaceGetter();
20 ~FakeFreeDiskSpaceGetter() override; 20 ~FakeFreeDiskSpaceGetter() override;
21 21
(...skipping 12 matching lines...) Expand all
34 34
35 private: 35 private:
36 std::list<int64> fake_values_; 36 std::list<int64> fake_values_;
37 int64 default_value_; 37 int64 default_value_;
38 38
39 DISALLOW_COPY_AND_ASSIGN(FakeFreeDiskSpaceGetter); 39 DISALLOW_COPY_AND_ASSIGN(FakeFreeDiskSpaceGetter);
40 }; 40 };
41 41
42 } // namespace drive 42 } // namespace drive
43 43
44 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_FREE_DISK_SPACE_GETTER_H_ 44 #endif // COMPONENTS_DRIVE_FAKE_FREE_DISK_SPACE_GETTER_H_
OLDNEW
« no previous file with comments | « components/drive/DEPS ('k') | components/drive/fake_free_disk_space_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698