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_GOOGLE_APIS_DRIVE_API_PARSER_H_ | 5 #ifndef CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_PARSER_H_ |
6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_PARSER_H_ | 6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_PARSER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
575 } | 575 } |
576 void set_modified_date(const base::Time& modified_date) { | 576 void set_modified_date(const base::Time& modified_date) { |
577 modified_date_ = modified_date; | 577 modified_date_ = modified_date; |
578 } | 578 } |
579 void set_modified_by_me_date(const base::Time& modified_by_me_date) { | 579 void set_modified_by_me_date(const base::Time& modified_by_me_date) { |
580 modified_by_me_date_ = modified_by_me_date; | 580 modified_by_me_date_ = modified_by_me_date; |
581 } | 581 } |
582 void set_last_viewed_by_me_date(const base::Time& last_viewed_by_me_date) { | 582 void set_last_viewed_by_me_date(const base::Time& last_viewed_by_me_date) { |
583 last_viewed_by_me_date_ = last_viewed_by_me_date; | 583 last_viewed_by_me_date_ = last_viewed_by_me_date; |
584 } | 584 } |
| 585 void set_shared_with_me_date(const base::Time& shared_with_me_date) { |
| 586 shared_with_me_date_ = shared_with_me_date; |
| 587 } |
585 void set_download_url(const GURL& download_url) { | 588 void set_download_url(const GURL& download_url) { |
586 download_url_ = download_url; | 589 download_url_ = download_url; |
587 } | 590 } |
588 void set_file_extension(const std::string& file_extension) { | 591 void set_file_extension(const std::string& file_extension) { |
589 file_extension_ = file_extension; | 592 file_extension_ = file_extension; |
590 } | 593 } |
591 void set_md5_checksum(const std::string& md5_checksum) { | 594 void set_md5_checksum(const std::string& md5_checksum) { |
592 md5_checksum_ = md5_checksum; | 595 md5_checksum_ = md5_checksum; |
593 } | 596 } |
594 void set_file_size(int64 file_size) { | 597 void set_file_size(int64 file_size) { |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
826 GURL next_link_; | 829 GURL next_link_; |
827 int64 largest_change_id_; | 830 int64 largest_change_id_; |
828 ScopedVector<ChangeResource> items_; | 831 ScopedVector<ChangeResource> items_; |
829 | 832 |
830 DISALLOW_COPY_AND_ASSIGN(ChangeList); | 833 DISALLOW_COPY_AND_ASSIGN(ChangeList); |
831 }; | 834 }; |
832 | 835 |
833 } // namespace google_apis | 836 } // namespace google_apis |
834 | 837 |
835 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_PARSER_H_ | 838 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_PARSER_H_ |
OLD | NEW |