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

Side by Side Diff: chrome/browser/google_apis/drive_api_service.cc

Issue 12069004: google_apis: Move AppendQueryParameter() etc. from common/net/url_util.h to net/base/url_util.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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
« no previous file with comments | « chrome/browser/google_apis/DEPS ('k') | chrome/browser/google_apis/drive_api_url_generator.cc » ('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/google_apis/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 "base/task_runner_util.h" 12 #include "base/task_runner_util.h"
13 #include "base/threading/sequenced_worker_pool.h" 13 #include "base/threading/sequenced_worker_pool.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "chrome/browser/google_apis/drive_api_operations.h" 15 #include "chrome/browser/google_apis/drive_api_operations.h"
16 #include "chrome/browser/google_apis/drive_api_parser.h" 16 #include "chrome/browser/google_apis/drive_api_parser.h"
17 #include "chrome/browser/google_apis/gdata_wapi_parser.h" 17 #include "chrome/browser/google_apis/gdata_wapi_parser.h"
18 #include "chrome/browser/google_apis/operation_runner.h" 18 #include "chrome/browser/google_apis/operation_runner.h"
19 #include "chrome/browser/google_apis/time_util.h" 19 #include "chrome/browser/google_apis/time_util.h"
20 #include "chrome/browser/profiles/profile.h" 20 #include "chrome/browser/profiles/profile.h"
21 #include "chrome/common/net/url_util.h"
22 #include "content/public/browser/browser_thread.h" 21 #include "content/public/browser/browser_thread.h"
23 22
24 using content::BrowserThread; 23 using content::BrowserThread;
25 24
26 namespace google_apis { 25 namespace google_apis {
27 26
28 namespace { 27 namespace {
29 28
30 // OAuth2 scopes for Drive API. 29 // OAuth2 scopes for Drive API.
31 const char kDriveScope[] = "https://www.googleapis.com/auth/drive"; 30 const char kDriveScope[] = "https://www.googleapis.com/auth/drive";
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 } 481 }
483 482
484 void DriveAPIService::OnAuthenticationFailed(GDataErrorCode error) { 483 void DriveAPIService::OnAuthenticationFailed(GDataErrorCode error) {
485 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 484 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
486 FOR_EACH_OBSERVER( 485 FOR_EACH_OBSERVER(
487 DriveServiceObserver, observers_, 486 DriveServiceObserver, observers_,
488 OnAuthenticationFailed(error)); 487 OnAuthenticationFailed(error));
489 } 488 }
490 489
491 } // namespace google_apis 490 } // namespace google_apis
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/DEPS ('k') | chrome/browser/google_apis/drive_api_url_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698