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

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

Issue 10855034: Drive: Remove gdata_params.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove gdata_params.[h|cc]. Created 8 years, 4 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_contacts_service.h" 5 #include "chrome/browser/chromeos/gdata/gdata_contacts_service.h"
6 6
7 #include <cstring> 7 #include <cstring>
8 #include <string> 8 #include <string>
9 #include <map> 9 #include <map>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/json/json_writer.h" 12 #include "base/json/json_writer.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/stl_util.h" 15 #include "base/stl_util.h"
16 #include "base/values.h" 16 #include "base/values.h"
17 #include "chrome/browser/chromeos/contacts/contact.pb.h" 17 #include "chrome/browser/chromeos/contacts/contact.pb.h"
18 #include "chrome/browser/chromeos/gdata/gdata_operation_registry.h" 18 #include "chrome/browser/chromeos/gdata/gdata_operation_registry.h"
19 #include "chrome/browser/chromeos/gdata/gdata_operation_runner.h" 19 #include "chrome/browser/chromeos/gdata/gdata_operation_runner.h"
20 #include "chrome/browser/chromeos/gdata/gdata_operations.h" 20 #include "chrome/browser/chromeos/gdata/gdata_operations.h"
21 #include "chrome/browser/chromeos/gdata/gdata_params.h"
22 #include "chrome/browser/chromeos/gdata/gdata_util.h" 21 #include "chrome/browser/chromeos/gdata/gdata_util.h"
23 #include "chrome/browser/profiles/profile.h" 22 #include "chrome/browser/profiles/profile.h"
24 #include "content/public/browser/browser_thread.h" 23 #include "content/public/browser/browser_thread.h"
25 24
26 using content::BrowserThread; 25 using content::BrowserThread;
27 26
28 namespace gdata { 27 namespace gdata {
29 28
30 namespace { 29 namespace {
31 30
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after
604 603
605 void GDataContactsService::OnRequestComplete(DownloadContactsRequest* request) { 604 void GDataContactsService::OnRequestComplete(DownloadContactsRequest* request) {
606 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 605 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
607 DCHECK(request); 606 DCHECK(request);
608 VLOG(1) << "Download request " << request << " complete"; 607 VLOG(1) << "Download request " << request << " complete";
609 requests_.erase(request); 608 requests_.erase(request);
610 delete request; 609 delete request;
611 } 610 }
612 611
613 } // namespace contacts 612 } // namespace contacts
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698