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

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

Issue 10692152: Rename gdata_parser to gdata_wapi_parser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase. Created 8 years, 5 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/gdata_files.h" 5 #include "chrome/browser/chromeos/gdata/gdata_files.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/platform_file.h"
10 #include "base/string_util.h"
11 #include "base/stringprintf.h"
9 #include "base/utf_string_conversions.h" 12 #include "base/utf_string_conversions.h"
10 #include "base/platform_file.h"
11 #include "base/stringprintf.h"
12 #include "base/string_util.h"
13 #include "chrome/browser/chromeos/gdata/gdata.pb.h" 13 #include "chrome/browser/chromeos/gdata/gdata.pb.h"
14 #include "chrome/browser/chromeos/gdata/gdata_parser.h"
15 #include "chrome/browser/chromeos/gdata/gdata_util.h" 14 #include "chrome/browser/chromeos/gdata/gdata_util.h"
15 #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h"
16 #include "net/base/escape.h" 16 #include "net/base/escape.h"
17 17
18 namespace gdata { 18 namespace gdata {
19 namespace { 19 namespace {
20 20
21 const char kSlash[] = "/"; 21 const char kSlash[] = "/";
22 const char kEscapedSlash[] = "\xE2\x88\x95"; 22 const char kEscapedSlash[] = "\xE2\x88\x95";
23 23
24 // Extracts resource_id out of edit url. 24 // Extracts resource_id out of edit url.
25 std::string ExtractResourceId(const GURL& url) { 25 std::string ExtractResourceId(const GURL& url) {
(...skipping 740 matching lines...) Expand 10 before | Expand all | Expand 10 after
766 return false; 766 return false;
767 767
768 if (!FromProto(proto)) 768 if (!FromProto(proto))
769 return false; 769 return false;
770 770
771 set_origin(FROM_CACHE); 771 set_origin(FROM_CACHE);
772 return true; 772 return true;
773 } 773 }
774 774
775 } // namespace gdata 775 } // namespace gdata
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_files.h ('k') | chrome/browser/chromeos/gdata/gdata_operations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698