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

Side by Side Diff: pdf/document_loader.cc

Issue 1533413002: Switch to standard integer types in pdf/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
« no previous file with comments | « pdf/document_loader.h ('k') | pdf/draw_utils.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "pdf/document_loader.h" 5 #include "pdf/document_loader.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include "base/logging.h" 10 #include "base/logging.h"
8 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
9 #include "net/http/http_util.h" 12 #include "net/http/http_util.h"
10 #include "ppapi/c/pp_errors.h" 13 #include "ppapi/c/pp_errors.h"
11 #include "ppapi/cpp/url_loader.h" 14 #include "ppapi/cpp/url_loader.h"
12 #include "ppapi/cpp/url_request_info.h" 15 #include "ppapi/cpp/url_request_info.h"
13 #include "ppapi/cpp/url_response_info.h" 16 #include "ppapi/cpp/url_response_info.h"
14 17
15 namespace chrome_pdf { 18 namespace chrome_pdf {
16 19
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 534
532 void DocumentLoader::UpdateRendering() { 535 void DocumentLoader::UpdateRendering() {
533 if (header_request_) 536 if (header_request_)
534 client_->OnPartialDocumentLoaded(); 537 client_->OnPartialDocumentLoaded();
535 else 538 else
536 client_->OnPendingRequestComplete(); 539 client_->OnPendingRequestComplete();
537 header_request_ = false; 540 header_request_ = false;
538 } 541 }
539 542
540 } // namespace chrome_pdf 543 } // namespace chrome_pdf
OLDNEW
« no previous file with comments | « pdf/document_loader.h ('k') | pdf/draw_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698