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

Unified Diff: pdf/out_of_process_instance.h

Issue 2828413005: Clang format pdf/ (Closed)
Patch Set: Manual tweaks Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pdf/draw_utils.cc ('k') | pdf/out_of_process_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pdf/out_of_process_instance.h
diff --git a/pdf/out_of_process_instance.h b/pdf/out_of_process_instance.h
index ae1b8e16f519f9d0139869f05e26d1e19a213f84..f2435bc69c4ea6f34592e04e61775aea2b0bd2e1 100644
--- a/pdf/out_of_process_instance.h
+++ b/pdf/out_of_process_instance.h
@@ -68,9 +68,8 @@ class OutOfProcessInstance : public pp::Instance,
// pp::Printing_Dev implementation.
uint32_t QuerySupportedPrintOutputFormats() override;
int32_t PrintBegin(const PP_PrintSettings_Dev& print_settings) override;
- pp::Resource PrintPages(
- const PP_PrintPageNumberRange_Dev* page_ranges,
- uint32_t page_range_count) override;
+ pp::Resource PrintPages(const PP_PrintPageNumberRange_Dev* page_ranges,
+ uint32_t page_range_count) override;
void PrintEnd() override;
bool IsPrintScalingDisabled() override;
@@ -166,8 +165,9 @@ class OutOfProcessInstance : public pp::Instance,
void LoadUrl(const std::string& url);
void LoadPreviewUrl(const std::string& url);
- void LoadUrlInternal(const std::string& url, pp::URLLoader* loader,
- void (OutOfProcessInstance::* method)(int32_t));
+ void LoadUrlInternal(const std::string& url,
+ pp::URLLoader* loader,
+ void (OutOfProcessInstance::*method)(int32_t));
// Creates a URL loader and allows it to access all urls, i.e. not just the
// frame's origin.
@@ -270,9 +270,7 @@ class OutOfProcessInstance : public pp::Instance,
std::vector<BackgroundPart> background_parts_;
struct PrintSettings {
- PrintSettings() {
- Clear();
- }
+ PrintSettings() { Clear(); }
void Clear() {
is_printing = false;
print_pages_called_ = false;
« no previous file with comments | « pdf/draw_utils.cc ('k') | pdf/out_of_process_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698