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

Side by Side Diff: chrome/browser/sync_file_system/fake_remote_change_processor.h

Issue 629603002: replace OVERRIDE and FINAL with override and final in chrome/browser/[r-z]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_SYNC_FILE_SYSTEM_FAKE_REMOTE_CHANGE_PROCESSOR_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_FAKE_REMOTE_CHANGE_PROCESSOR_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_FAKE_REMOTE_CHANGE_PROCESSOR_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_FAKE_REMOTE_CHANGE_PROCESSOR_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 25 matching lines...) Expand all
36 typedef std::map<storage::FileSystemURL, 36 typedef std::map<storage::FileSystemURL,
37 SyncFileMetadata, 37 SyncFileMetadata,
38 storage::FileSystemURL::Comparator> URLToFileMetadata; 38 storage::FileSystemURL::Comparator> URLToFileMetadata;
39 39
40 FakeRemoteChangeProcessor(); 40 FakeRemoteChangeProcessor();
41 virtual ~FakeRemoteChangeProcessor(); 41 virtual ~FakeRemoteChangeProcessor();
42 42
43 // RemoteChangeProcessor overrides. 43 // RemoteChangeProcessor overrides.
44 virtual void PrepareForProcessRemoteChange( 44 virtual void PrepareForProcessRemoteChange(
45 const storage::FileSystemURL& url, 45 const storage::FileSystemURL& url,
46 const PrepareChangeCallback& callback) OVERRIDE; 46 const PrepareChangeCallback& callback) override;
47 virtual void ApplyRemoteChange(const FileChange& change, 47 virtual void ApplyRemoteChange(const FileChange& change,
48 const base::FilePath& local_path, 48 const base::FilePath& local_path,
49 const storage::FileSystemURL& url, 49 const storage::FileSystemURL& url,
50 const SyncStatusCallback& callback) OVERRIDE; 50 const SyncStatusCallback& callback) override;
51 virtual void FinalizeRemoteSync( 51 virtual void FinalizeRemoteSync(
52 const storage::FileSystemURL& url, 52 const storage::FileSystemURL& url,
53 bool clear_local_changes, 53 bool clear_local_changes,
54 const base::Closure& completion_callback) OVERRIDE; 54 const base::Closure& completion_callback) override;
55 virtual void RecordFakeLocalChange( 55 virtual void RecordFakeLocalChange(
56 const storage::FileSystemURL& url, 56 const storage::FileSystemURL& url,
57 const FileChange& change, 57 const FileChange& change,
58 const SyncStatusCallback& callback) OVERRIDE; 58 const SyncStatusCallback& callback) override;
59 59
60 void UpdateLocalFileMetadata(const storage::FileSystemURL& url, 60 void UpdateLocalFileMetadata(const storage::FileSystemURL& url,
61 const FileChange& change); 61 const FileChange& change);
62 void ClearLocalChanges(const storage::FileSystemURL& url); 62 void ClearLocalChanges(const storage::FileSystemURL& url);
63 63
64 const URLToFileChangesMap& GetAppliedRemoteChanges() const; 64 const URLToFileChangesMap& GetAppliedRemoteChanges() const;
65 65
66 // Compare |applied_changes_| with |expected_changes|. 66 // Compare |applied_changes_| with |expected_changes|.
67 // This internally calls EXPECT_FOO, ASSERT_FOO methods in the 67 // This internally calls EXPECT_FOO, ASSERT_FOO methods in the
68 // verification. 68 // verification.
(...skipping 10 matching lines...) Expand all
79 79
80 // Initial local file metadata. These are overridden by applied changes. 80 // Initial local file metadata. These are overridden by applied changes.
81 URLToFileMetadata local_file_metadata_; 81 URLToFileMetadata local_file_metadata_;
82 82
83 DISALLOW_COPY_AND_ASSIGN(FakeRemoteChangeProcessor); 83 DISALLOW_COPY_AND_ASSIGN(FakeRemoteChangeProcessor);
84 }; 84 };
85 85
86 } // namespace sync_file_system 86 } // namespace sync_file_system
87 87
88 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_FAKE_REMOTE_CHANGE_PROCESSOR_H_ 88 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_FAKE_REMOTE_CHANGE_PROCESSOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698