OLD | NEW |
---|---|
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_EXTENSIONS_FILE_BROWSER_EVENT_ROUTER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_EVENT_ROUTER_H_ |
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_EVENT_ROUTER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_EVENT_ROUTER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 #include <set> | 10 #include <set> |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
149 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info); | 149 const chromeos::disks::DiskMountManager::MountPointInfo& mount_info); |
150 | 150 |
151 void RemoveBrowserFromVector(const std::string& path); | 151 void RemoveBrowserFromVector(const std::string& path); |
152 | 152 |
153 // Used to create a window of a standard size, and add it to a list | 153 // Used to create a window of a standard size, and add it to a list |
154 // of tracked browser windows in case that device goes away. | 154 // of tracked browser windows in case that device goes away. |
155 void OpenFileBrowse(const std::string& url, | 155 void OpenFileBrowse(const std::string& url, |
156 const std::string& device_path, | 156 const std::string& device_path, |
157 bool small); | 157 bool small); |
158 | 158 |
159 gdata::GDataFileSystem* GetFileSystem() const; | |
satorux1
2012/05/03 16:49:29
function comment is missing. one line comment woul
hshi
2012/05/03 17:46:35
Done.
| |
160 | |
159 scoped_refptr<FileWatcherDelegate> delegate_; | 161 scoped_refptr<FileWatcherDelegate> delegate_; |
160 WatcherMap file_watchers_; | 162 WatcherMap file_watchers_; |
161 scoped_ptr<FileBrowserNotifications> notifications_; | 163 scoped_ptr<FileBrowserNotifications> notifications_; |
162 Profile* profile_; | 164 Profile* profile_; |
163 base::Lock lock_; | 165 base::Lock lock_; |
164 | 166 |
165 bool current_gdata_operation_failed_; | 167 bool current_gdata_operation_failed_; |
166 int last_active_gdata_operation_count_; | 168 int last_active_gdata_operation_count_; |
167 | 169 |
168 DISALLOW_COPY_AND_ASSIGN(FileBrowserEventRouter); | 170 DISALLOW_COPY_AND_ASSIGN(FileBrowserEventRouter); |
(...skipping 20 matching lines...) Expand all Loading... | |
189 | 191 |
190 FileBrowserEventRouterFactory(); | 192 FileBrowserEventRouterFactory(); |
191 virtual ~FileBrowserEventRouterFactory(); | 193 virtual ~FileBrowserEventRouterFactory(); |
192 | 194 |
193 // ProfileKeyedServiceFactory: | 195 // ProfileKeyedServiceFactory: |
194 virtual scoped_refptr<RefcountedProfileKeyedService> BuildServiceInstanceFor( | 196 virtual scoped_refptr<RefcountedProfileKeyedService> BuildServiceInstanceFor( |
195 Profile* profile) const OVERRIDE; | 197 Profile* profile) const OVERRIDE; |
196 }; | 198 }; |
197 | 199 |
198 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_EVENT_ROUTER_H_ | 200 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_FILE_BROWSER_EVENT_ROUTER_H_ |
OLD | NEW |