OLD | NEW |
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_documents_service.h" | 5 #include "chrome/browser/chromeos/gdata/gdata_documents_service.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/message_loop_proxy.h" | 10 #include "base/message_loop_proxy.h" |
11 #include "chrome/browser/chromeos/gdata/gdata_file_system.h" | |
12 #include "chrome/browser/chromeos/gdata/gdata_operation_runner.h" | 11 #include "chrome/browser/chromeos/gdata/gdata_operation_runner.h" |
13 #include "chrome/browser/chromeos/gdata/gdata_operations.h" | 12 #include "chrome/browser/chromeos/gdata/gdata_operations.h" |
14 #include "chrome/browser/profiles/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
15 #include "chrome/common/net/url_util.h" | 14 #include "chrome/common/net/url_util.h" |
16 #include "content/public/browser/browser_thread.h" | 15 #include "content/public/browser/browser_thread.h" |
17 | 16 |
18 using content::BrowserThread; | 17 using content::BrowserThread; |
19 | 18 |
20 namespace gdata { | 19 namespace gdata { |
21 | 20 |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
266 const std::string& app_ids, | 265 const std::string& app_ids, |
267 const GetDataCallback& callback) { | 266 const GetDataCallback& callback) { |
268 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); | 267 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); |
269 | 268 |
270 runner_->StartOperationWithRetry( | 269 runner_->StartOperationWithRetry( |
271 new AuthorizeAppsOperation(operation_registry(), profile_, callback, | 270 new AuthorizeAppsOperation(operation_registry(), profile_, callback, |
272 resource_url, app_ids)); | 271 resource_url, app_ids)); |
273 } | 272 } |
274 | 273 |
275 } // namespace gdata | 274 } // namespace gdata |
OLD | NEW |