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

Unified Diff: chrome/browser/chromeos/drive/file_system_observer.h

Issue 1314803004: Move chrome/browser/chromeos/drive/file_system.cc (+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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/chromeos/drive/file_system.cc ('k') | chrome/browser/chromeos/drive/file_system_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/file_system_observer.h
diff --git a/chrome/browser/chromeos/drive/file_system_observer.h b/chrome/browser/chromeos/drive/file_system_observer.h
deleted file mode 100644
index cca668498c1e053a915d606b1e12f3ffa57d378c..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/drive/file_system_observer.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_OBSERVER_H_
-#define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_OBSERVER_H_
-
-#include "components/drive/file_errors.h"
-#include "components/drive/file_system/operation_delegate.h"
-
-namespace base {
-class FilePath;
-}
-
-namespace drive {
-
-class FileChange;
-
-// Interface for classes that need to observe events from classes implementing
-// FileSystemInterface.
-// All events are notified on UI thread.
-class FileSystemObserver {
- public:
- // Triggered when a content of a directory has been changed.
- // |directory_path| is a virtual directory path (/drive/...) representing
- // changed directory.
- virtual void OnDirectoryChanged(const base::FilePath& directory_path) {}
- virtual void OnFileChanged(const FileChange& file_change) {}
-
- // Triggared when a specific drive error occurred.
- // |type| is a type of the error. |file_name| is a virtual path of the entry.
- virtual void OnDriveSyncError(file_system::DriveSyncErrorType type,
- const base::FilePath& file_path) {}
-
- protected:
- virtual ~FileSystemObserver() {}
-};
-
-} // namespace drive
-
-#endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_OBSERVER_H_
« no previous file with comments | « chrome/browser/chromeos/drive/file_system.cc ('k') | chrome/browser/chromeos/drive/file_system_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698