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

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

Issue 10128002: Retrieve Windows performance assessment information from results files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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_operations.h" 5 #include "chrome/browser/chromeos/gdata/gdata_operations.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/json/json_reader.h" 8 #include "base/json/json_reader.h"
9 #include "base/libxml_utils.h"
9 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
10 #include "base/string_number_conversions.h" 11 #include "base/string_number_conversions.h"
11 #include "base/values.h" 12 #include "base/values.h"
12 #include "chrome/browser/chromeos/gdata/gdata_util.h" 13 #include "chrome/browser/chromeos/gdata/gdata_util.h"
13 #include "chrome/browser/net/browser_url_util.h" 14 #include "chrome/browser/net/browser_url_util.h"
14 #include "chrome/common/libxml_utils.h"
15 #include "chrome/common/net/gaia/google_service_auth_error.h" 15 #include "chrome/common/net/gaia/google_service_auth_error.h"
16 #include "chrome/common/net/gaia/gaia_urls.h" 16 #include "chrome/common/net/gaia/gaia_urls.h"
17 #include "net/base/escape.h" 17 #include "net/base/escape.h"
18 #include "net/http/http_util.h" 18 #include "net/http/http_util.h"
19 19
20 using content::BrowserThread; 20 using content::BrowserThread;
21 using content::URLFetcher; 21 using content::URLFetcher;
22 22
23 namespace { 23 namespace {
24 24
(...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after
1030 return true; 1030 return true;
1031 } 1031 }
1032 1032
1033 void ResumeUploadOperation::OnURLFetchUploadProgress( 1033 void ResumeUploadOperation::OnURLFetchUploadProgress(
1034 const content::URLFetcher* source, int64 current, int64 total) { 1034 const content::URLFetcher* source, int64 current, int64 total) {
1035 // Adjust the progress values according to the range currently uploaded. 1035 // Adjust the progress values according to the range currently uploaded.
1036 NotifyProgress(params_.start_range + current, params_.content_length); 1036 NotifyProgress(params_.start_range + current, params_.content_length);
1037 } 1037 }
1038 1038
1039 } // namespace gdata 1039 } // namespace gdata
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698