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

Side by Side Diff: chrome/browser/google_apis/gdata_wapi_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
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/gdata_wapi_service.h" 5 #include "chrome/browser/google_apis/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_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/auth_service.h" 15 #include "chrome/browser/google_apis/auth_service.h"
16 #include "chrome/browser/google_apis/gdata_wapi_operations.h" 16 #include "chrome/browser/google_apis/gdata_wapi_operations.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/gdata_wapi_url_generator.h" 18 #include "chrome/browser/google_apis/gdata_wapi_url_generator.h"
19 #include "chrome/browser/google_apis/operation_runner.h" 19 #include "chrome/browser/google_apis/operation_runner.h"
20 #include "chrome/browser/google_apis/time_util.h" 20 #include "chrome/browser/google_apis/time_util.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"
22 #include "net/base/url_util.h"
23 23
24 using content::BrowserThread; 24 using content::BrowserThread;
25 25
26 namespace google_apis { 26 namespace google_apis {
27 27
28 namespace { 28 namespace {
29 29
30 // Parses the JSON value to ResourceList. 30 // Parses the JSON value to ResourceList.
31 scoped_ptr<ResourceList> ParseResourceListOnBlockingPool( 31 scoped_ptr<ResourceList> ParseResourceListOnBlockingPool(
32 scoped_ptr<base::Value> value) { 32 scoped_ptr<base::Value> value) {
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 DriveServiceObserver, observers_, OnProgressUpdate(list)); 483 DriveServiceObserver, observers_, OnProgressUpdate(list));
484 } 484 }
485 485
486 void GDataWapiService::OnAuthenticationFailed(GDataErrorCode error) { 486 void GDataWapiService::OnAuthenticationFailed(GDataErrorCode error) {
487 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 487 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
488 FOR_EACH_OBSERVER( 488 FOR_EACH_OBSERVER(
489 DriveServiceObserver, observers_, OnAuthenticationFailed(error)); 489 DriveServiceObserver, observers_, OnAuthenticationFailed(error));
490 } 490 }
491 491
492 } // namespace google_apis 492 } // namespace google_apis
OLDNEW
« no previous file with comments | « chrome/browser/google_apis/gdata_wapi_operations.cc ('k') | chrome/browser/google_apis/gdata_wapi_url_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698