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

Side by Side Diff: chrome/browser/drive/gdata_wapi_service.cc

Issue 96413002: Move c/b/google_apis to google_apis/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years 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 | « chrome/browser/drive/gdata_wapi_service.h ('k') | chrome/browser/google_apis/DEPS » ('j') | 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 #include "chrome/browser/drive/gdata_wapi_service.h" 5 #include "chrome/browser/drive/gdata_wapi_service.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/message_loop/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/sequenced_task_runner.h" 12 #include "base/sequenced_task_runner.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "chrome/browser/drive/drive_api_util.h" 14 #include "chrome/browser/drive/drive_api_util.h"
15 #include "chrome/browser/google_apis/auth_service.h"
16 #include "chrome/browser/google_apis/drive_api_parser.h"
17 #include "chrome/browser/google_apis/gdata_errorcode.h"
18 #include "chrome/browser/google_apis/gdata_wapi_parser.h"
19 #include "chrome/browser/google_apis/gdata_wapi_requests.h"
20 #include "chrome/browser/google_apis/gdata_wapi_url_generator.h"
21 #include "chrome/browser/google_apis/request_sender.h"
22 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
16 #include "google_apis/drive/auth_service.h"
17 #include "google_apis/drive/drive_api_parser.h"
18 #include "google_apis/drive/gdata_errorcode.h"
19 #include "google_apis/drive/gdata_wapi_parser.h"
20 #include "google_apis/drive/gdata_wapi_requests.h"
21 #include "google_apis/drive/gdata_wapi_url_generator.h"
22 #include "google_apis/drive/request_sender.h"
23 #include "net/url_request/url_request_context_getter.h" 23 #include "net/url_request/url_request_context_getter.h"
24 24
25 using content::BrowserThread; 25 using content::BrowserThread;
26 using google_apis::AboutResource; 26 using google_apis::AboutResource;
27 using google_apis::AboutResourceCallback; 27 using google_apis::AboutResourceCallback;
28 using google_apis::AccountMetadata; 28 using google_apis::AccountMetadata;
29 using google_apis::AddResourceToDirectoryRequest; 29 using google_apis::AddResourceToDirectoryRequest;
30 using google_apis::AppList; 30 using google_apis::AppList;
31 using google_apis::AppListCallback; 31 using google_apis::AppListCallback;
32 using google_apis::AuthService; 32 using google_apis::AuthService;
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 if (CanSendRequest()) { 671 if (CanSendRequest()) {
672 FOR_EACH_OBSERVER( 672 FOR_EACH_OBSERVER(
673 DriveServiceObserver, observers_, OnReadyToSendRequests()); 673 DriveServiceObserver, observers_, OnReadyToSendRequests());
674 } else if (!HasRefreshToken()) { 674 } else if (!HasRefreshToken()) {
675 FOR_EACH_OBSERVER( 675 FOR_EACH_OBSERVER(
676 DriveServiceObserver, observers_, OnRefreshTokenInvalid()); 676 DriveServiceObserver, observers_, OnRefreshTokenInvalid());
677 } 677 }
678 } 678 }
679 679
680 } // namespace drive 680 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/drive/gdata_wapi_service.h ('k') | chrome/browser/google_apis/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698