| 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_DRIVE_DRIVE_FILE_SYSTEM_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_ | 
| 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_ | 
| 7 | 7 | 
| 8 #include <string> | 8 #include <string> | 
| 9 #include <vector> | 9 #include <vector> | 
| 10 | 10 | 
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 236   // Defines set of parameters passed to intermediate callbacks during | 236   // Defines set of parameters passed to intermediate callbacks during | 
| 237   // execution of GetFileByPath() method. | 237   // execution of GetFileByPath() method. | 
| 238   struct GetFileFromCacheParams; | 238   struct GetFileFromCacheParams; | 
| 239 | 239 | 
| 240   // Struct used for AddUploadedFile. | 240   // Struct used for AddUploadedFile. | 
| 241   struct AddUploadedFileParams; | 241   struct AddUploadedFileParams; | 
| 242 | 242 | 
| 243   // Struct used by UpdateEntryData. | 243   // Struct used by UpdateEntryData. | 
| 244   struct UpdateEntryParams; | 244   struct UpdateEntryParams; | 
| 245 | 245 | 
| 246   // Initializes DriveResourceMetadta and DriveFeedLoader instances. This is a | 246   // Initializes DriveResourceMetadata and DriveFeedLoader instances. This is a | 
| 247   // part of the initialization. | 247   // part of the initialization. | 
| 248   void InitializeResourceMetadtaAndFeedLoader(); | 248   void InitializeResourceMetadataAndFeedLoader(); | 
| 249 | 249 | 
| 250   // Callback passed to |LoadFeedFromServer| from |Search| method. | 250   // Callback passed to |LoadFeedFromServer| from |Search| method. | 
| 251   // |callback| is that should be run with data received from | 251   // |callback| is that should be run with data received from | 
| 252   // |LoadFeedFromServer|. |callback| must not be null. | 252   // |LoadFeedFromServer|. |callback| must not be null. | 
| 253   // |params| params used for getting document feed for content search. | 253   // |params| params used for getting document feed for content search. | 
| 254   // |error| error code returned by |LoadFeedFromServer|. | 254   // |error| error code returned by |LoadFeedFromServer|. | 
| 255   void OnSearch(const SearchCallback& callback, | 255   void OnSearch(const SearchCallback& callback, | 
| 256                 scoped_ptr<LoadFeedParams> params, | 256                 scoped_ptr<LoadFeedParams> params, | 
| 257                 DriveFileError error); | 257                 DriveFileError error); | 
| 258 | 258 | 
| (...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 748   // from IO thread to UI thread. | 748   // from IO thread to UI thread. | 
| 749   base::WeakPtr<DriveFileSystem> ui_weak_ptr_; | 749   base::WeakPtr<DriveFileSystem> ui_weak_ptr_; | 
| 750 | 750 | 
| 751   // Polling interval for checking updates in seconds. | 751   // Polling interval for checking updates in seconds. | 
| 752   int polling_interval_sec_; | 752   int polling_interval_sec_; | 
| 753 }; | 753 }; | 
| 754 | 754 | 
| 755 }  // namespace drive | 755 }  // namespace drive | 
| 756 | 756 | 
| 757 #endif  // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_ | 757 #endif  // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_ | 
| OLD | NEW | 
|---|