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

Side by Side Diff: chrome/browser/chromeos/gdata/gdata_file_system.h

Issue 10541111: Remove chromeos::GDataFileSystem::ParseGDataFeed which lacks method body (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_GDATA_GDATA_FILE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 622 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 633
634 // Callback run as a response to LoadFeedFromServer. 634 // Callback run as a response to LoadFeedFromServer.
635 typedef base::Callback<void(GetDocumentsParams* params, 635 typedef base::Callback<void(GetDocumentsParams* params,
636 base::PlatformFileError error)> 636 base::PlatformFileError error)>
637 LoadDocumentFeedCallback; 637 LoadDocumentFeedCallback;
638 638
639 // Finds entry object by |file_path| and returns the entry object. 639 // Finds entry object by |file_path| and returns the entry object.
640 // Returns NULL if it does not find the entry. 640 // Returns NULL if it does not find the entry.
641 GDataEntry* GetGDataEntryByPath(const FilePath& file_path); 641 GDataEntry* GetGDataEntryByPath(const FilePath& file_path);
642 642
643 // Converts document feed from gdata service into DirectoryInfo. On failure,
644 // returns NULL and fills in |error| with an appropriate value.
645 GDataDirectory* ParseGDataFeed(GDataErrorCode status,
646 base::Value* data,
647 base::PlatformFileError *error);
648
649 // Callback passed to |LoadFeedFromServer| from |SearchAsync| method. 643 // Callback passed to |LoadFeedFromServer| from |SearchAsync| method.
650 // |callback| is that should be run with data received from 644 // |callback| is that should be run with data received from
651 // |LoadFeedFromServer|. 645 // |LoadFeedFromServer|.
652 // |params| params used for getting document feed for content search. 646 // |params| params used for getting document feed for content search.
653 // |error| error code returned by |LoadFeedFromServer|. 647 // |error| error code returned by |LoadFeedFromServer|.
654 void OnSearch(const ReadDirectoryCallback& callback, 648 void OnSearch(const ReadDirectoryCallback& callback,
655 GetDocumentsParams* params, 649 GetDocumentsParams* params,
656 base::PlatformFileError error); 650 base::PlatformFileError error);
657 651
658 // Initiates transfer of |local_file_path| with |resource_id| to 652 // Initiates transfer of |local_file_path| with |resource_id| to
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after
1535 }; 1529 };
1536 1530
1537 // Sets the free disk space getter for testing. 1531 // Sets the free disk space getter for testing.
1538 // The existing getter is deleted. 1532 // The existing getter is deleted.
1539 void SetFreeDiskSpaceGetterForTesting( 1533 void SetFreeDiskSpaceGetterForTesting(
1540 FreeDiskSpaceGetterInterface* getter); 1534 FreeDiskSpaceGetterInterface* getter);
1541 1535
1542 } // namespace gdata 1536 } // namespace gdata
1543 1537
1544 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ 1538 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698