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

Unified Diff: testing/embedder_test.h

Issue 1353093003: Support linearized loading (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Add an argument 'must_linearize' in OpenDocument Created 5 years, 2 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 fb3ea428f16e1e2cc0ac4a8f2a973597f68bab60..252545e62ed65f6a373118cc41cf3167d7c1124c 100644
--- a/testing/embedder_test.h
+++ b/testing/embedder_test.h
@@ -80,7 +80,8 @@ class EmbedderTest : public ::testing::Test,
// Open the document specified by |filename|, and create its form fill
// environment, or return false on failure.
- virtual bool OpenDocument(const std::string& filename);
+ virtual bool OpenDocument(const std::string& filename,
+ const bool must_linearize);
Tom Sepez 2015/10/21 17:53:08 nit: const is pointless for bool arguments. Also m
jun_fang 2015/10/22 00:50:06 I will remove 'const' and add a default value of f
// Perform JavaScript actions that are to run at document open time.
virtual void DoOpenActions();

Powered by Google App Engine
This is Rietveld 408576698