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

Side by Side Diff: chrome/browser/chromeos/gdata/drive_files.cc

Issue 10920091: Move Drive API files to google_apis directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reflect comments Created 8 years, 3 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
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 #include "chrome/browser/chromeos/gdata/drive_files.h" 5 #include "chrome/browser/chromeos/gdata/drive_files.h"
6 6
7 #include "base/platform_file.h" 7 #include "base/platform_file.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "base/stringprintf.h" 9 #include "base/stringprintf.h"
10 #include "base/utf_string_conversions.h" 10 #include "base/utf_string_conversions.h"
11 #include "chrome/browser/chromeos/gdata/drive.pb.h" 11 #include "chrome/browser/chromeos/gdata/drive.pb.h"
12 #include "chrome/browser/chromeos/gdata/drive_file_system_util.h" 12 #include "chrome/browser/chromeos/gdata/drive_file_system_util.h"
13 #include "chrome/browser/chromeos/gdata/drive_resource_metadata.h" 13 #include "chrome/browser/chromeos/gdata/drive_resource_metadata.h"
14 #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h" 14 #include "chrome/browser/google_apis/gdata_wapi_parser.h"
15 #include "net/base/escape.h" 15 #include "net/base/escape.h"
16 16
17 namespace gdata { 17 namespace gdata {
18 18
19 // DriveEntry class. 19 // DriveEntry class.
20 20
21 DriveEntry::DriveEntry(DriveResourceMetadata* resource_metadata) 21 DriveEntry::DriveEntry(DriveResourceMetadata* resource_metadata)
22 : parent_(NULL), 22 : parent_(NULL),
23 resource_metadata_(resource_metadata), 23 resource_metadata_(resource_metadata),
24 deleted_(false) { 24 deleted_(false) {
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 DCHECK(ok); 492 DCHECK(ok);
493 } else if (dir) { 493 } else if (dir) {
494 DriveDirectoryProto dir_proto; 494 DriveDirectoryProto dir_proto;
495 dir->ToProto(&dir_proto); 495 dir->ToProto(&dir_proto);
496 const bool ok = dir_proto.SerializeToString(serialized_proto); 496 const bool ok = dir_proto.SerializeToString(serialized_proto);
497 DCHECK(ok); 497 DCHECK(ok);
498 } 498 }
499 } 499 }
500 500
501 } // namespace gdata 501 } // namespace gdata
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_files.h ('k') | chrome/browser/chromeos/gdata/drive_protocol_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698