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

Unified Diff: testing/embedder_test.h

Issue 1265503005: clang-format all pdfium code. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: sigh Created 5 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 side-by-side diff with in-line comments
Download patch
Index: testing/embedder_test.h
diff --git a/testing/embedder_test.h b/testing/embedder_test.h
index 0ac68d54e16274117b1e071576b0ab4939f84095..4bd9d9713ea6f65d7bd7914af159c181e199d6e4 100644
--- a/testing/embedder_test.h
+++ b/testing/embedder_test.h
@@ -25,14 +25,16 @@ class EmbedderTest : public ::testing::Test,
public:
class Delegate {
public:
- virtual ~Delegate() { }
+ virtual ~Delegate() {}
// Equivalent to UNSUPPORT_INFO::FSDK_UnSupport_Handler().
- virtual void UnsupportedHandler(int type) { }
+ virtual void UnsupportedHandler(int type) {}
// Equivalent to IPDF_JSPLATFORM::app_alert().
- virtual int Alert(FPDF_WIDESTRING message, FPDF_WIDESTRING title,
- int type, int icon) {
+ virtual int Alert(FPDF_WIDESTRING message,
+ FPDF_WIDESTRING title,
+ int type,
+ int icon) {
return 0;
}
@@ -40,7 +42,7 @@ class EmbedderTest : public ::testing::Test,
virtual int SetTimer(int msecs, TimerCallback fn) { return 0; }
// Equivalent to FPDF_FORMFILLINFO::FFI_KillTimer().
- virtual void KillTimer(int id) { }
+ virtual void KillTimer(int id) {}
};
EmbedderTest();
@@ -95,9 +97,13 @@ class EmbedderTest : public ::testing::Test,
private:
static void UnsupportedHandlerTrampoline(UNSUPPORT_INFO*, int type);
- static int AlertTrampoline(IPDF_JSPLATFORM* plaform, FPDF_WIDESTRING message,
- FPDF_WIDESTRING title, int type, int icon);
- static int SetTimerTrampoline(FPDF_FORMFILLINFO* info, int msecs,
+ static int AlertTrampoline(IPDF_JSPLATFORM* plaform,
+ FPDF_WIDESTRING message,
+ FPDF_WIDESTRING title,
+ int type,
+ int icon);
+ static int SetTimerTrampoline(FPDF_FORMFILLINFO* info,
+ int msecs,
TimerCallback fn);
static void KillTimerTrampoline(FPDF_FORMFILLINFO* info, int id);
};

Powered by Google App Engine
This is Rietveld 408576698