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

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

Issue 1215503010: OBSOLETE: Move (most of) chrome/browser/chromeos/drive into components/drive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@drive-componentize-service
Patch Set: Created 5 years, 6 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
Index: chrome/browser/chromeos/drive/change_list_loader_observer.h
diff --git a/chrome/browser/chromeos/drive/change_list_loader_observer.h b/chrome/browser/chromeos/drive/change_list_loader_observer.h
deleted file mode 100644
index 4c05e092f4a3d4ea2c24dea0fed23ccedea56506..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/drive/change_list_loader_observer.h
+++ /dev/null
@@ -1,44 +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_CHANGE_LIST_LOADER_OBSERVER_H_
-#define CHROME_BROWSER_CHROMEOS_DRIVE_CHANGE_LIST_LOADER_OBSERVER_H_
-
-namespace base {
-class FilePath;
-} // namespace base
-
-namespace drive {
-class FileChange;
-namespace internal {
-
-// Interface for classes that need to observe events from ChangeListLoader.
-// All events are notified on UI thread.
-class ChangeListLoaderObserver {
- public:
- // Triggered when the content of a directory is reloaded. The content may
- // changed. |directory_path| is a virtual directory path representing the
- // reloaded directory.
- virtual void OnDirectoryReloaded(const base::FilePath& directory_path) {}
-
- // Triggered when content(s) in drive has been changed.
- virtual void OnFileChanged(const FileChange& changed_files) {}
-
- // Triggered when loading from the server is complete.
- virtual void OnLoadFromServerComplete() {}
-
- // Triggered when loading is complete for the first time, either from the
- // the server or the cache. To be precise, for the latter case, we do not
- // load anything from the cache. We just check that the resource metadata
- // is stored locally thus can be used.
- virtual void OnInitialLoadComplete() {}
-
- protected:
- virtual ~ChangeListLoaderObserver() {}
-};
-
-} // namespace internal
-} // namespace drive
-
-#endif // CHROME_BROWSER_CHROMEOS_DRIVE_CHANGE_LIST_LOADER_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698