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

Unified Diff: chrome/browser/chromeos/extensions/file_manager/event_router.h

Issue 22150005: file_manager: Rename file_manager_event_router.h to event_router.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | « no previous file | chrome/browser/chromeos/extensions/file_manager/event_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/extensions/file_manager/event_router.h
diff --git a/chrome/browser/chromeos/extensions/file_manager/file_manager_event_router.h b/chrome/browser/chromeos/extensions/file_manager/event_router.h
similarity index 93%
rename from chrome/browser/chromeos/extensions/file_manager/file_manager_event_router.h
rename to chrome/browser/chromeos/extensions/file_manager/event_router.h
index 0be7ebebe633b7980469ad30a7701368159eb143..60225d39817a76a1eebf839eafd7369f6186a6ef 100644
--- a/chrome/browser/chromeos/extensions/file_manager/file_manager_event_router.h
+++ b/chrome/browser/chromeos/extensions/file_manager/event_router.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_EVENT_ROUTER_H_
-#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_EVENT_ROUTER_H_
+#ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_
+#define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_
#include <map>
#include <string>
@@ -28,7 +28,7 @@ class MountedDiskMonitor;
// Monitors changes in disk mounts, network connection state and preferences
// affecting File Manager. Dispatches appropriate File Browser events.
-class FileManagerEventRouter
+class EventRouter
: public chromeos::disks::DiskMountManager::Observer,
public chromeos::ConnectivityStateHelperObserver,
public drive::DriveIntegrationServiceObserver,
@@ -36,8 +36,8 @@ class FileManagerEventRouter
public drive::JobListObserver,
public drive::DriveServiceObserver {
public:
- explicit FileManagerEventRouter(Profile* profile);
- virtual ~FileManagerEventRouter();
+ explicit EventRouter(Profile* profile);
+ virtual ~EventRouter();
void Shutdown();
@@ -165,10 +165,10 @@ class FileManagerEventRouter
// Note: This should remain the last member so it'll be destroyed and
// invalidate the weak pointers before any other members are destroyed.
- base::WeakPtrFactory<FileManagerEventRouter> weak_factory_;
- DISALLOW_COPY_AND_ASSIGN(FileManagerEventRouter);
+ base::WeakPtrFactory<EventRouter> weak_factory_;
+ DISALLOW_COPY_AND_ASSIGN(EventRouter);
};
} // namespace file_manager
-#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_FILE_MANAGER_EVENT_ROUTER_H_
+#endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_MANAGER_EVENT_ROUTER_H_
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/file_manager/event_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698