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

Side by Side Diff: chrome/browser/google_apis/drive_api_service.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_api_service.h" 5 #include "chrome/browser/google_apis/drive_api_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_proxy.h" 11 #include "base/message_loop_proxy.h"
12 #include "chrome/browser/chromeos/gdata/drive_api_operations.h" 12 // TODO(nhiroki): Remove a dependency on ChromeOS files.
13 #include "chrome/browser/chromeos/gdata/gdata_operations.h" 13 #include "chrome/browser/chromeos/gdata/gdata_operations.h"
14 #include "chrome/browser/chromeos/gdata/gdata_util.h"
15 #include "chrome/browser/chromeos/gdata/operation_runner.h" 14 #include "chrome/browser/chromeos/gdata/operation_runner.h"
15 #include "chrome/browser/google_apis/drive_api_operations.h"
16 #include "chrome/browser/google_apis/gdata_util.h"
16 #include "chrome/browser/profiles/profile.h" 17 #include "chrome/browser/profiles/profile.h"
17 #include "chrome/common/net/url_util.h" 18 #include "chrome/common/net/url_util.h"
18 #include "content/public/browser/browser_thread.h" 19 #include "content/public/browser/browser_thread.h"
19 20
20 using content::BrowserThread; 21 using content::BrowserThread;
21 22
22 namespace gdata { 23 namespace gdata {
23 24
24 namespace { 25 namespace {
25 26
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 268
268 void DriveAPIService::OnOAuth2RefreshTokenChanged() { 269 void DriveAPIService::OnOAuth2RefreshTokenChanged() {
269 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 270 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
270 if (CanStartOperation()) { 271 if (CanStartOperation()) {
271 FOR_EACH_OBSERVER( 272 FOR_EACH_OBSERVER(
272 DriveServiceObserver, observers_, OnReadyToPerformOperations()); 273 DriveServiceObserver, observers_, OnReadyToPerformOperations());
273 } 274 }
274 } 275 }
275 276
276 } // namespace gdata 277 } // namespace gdata
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698