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

Unified Diff: content/public/common/mhtml_generation.cc

Issue 1947263004: Introduces a new MHTML generation parameter specifying different behvaior for cache-control headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Łukasz comments. Created 4 years, 7 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: content/public/common/mhtml_generation.cc
diff --git a/content/public/gpu/content_gpu_client.cc b/content/public/common/mhtml_generation.cc
similarity index 52%
copy from content/public/gpu/content_gpu_client.cc
copy to content/public/common/mhtml_generation.cc
index c2a8eacc3c51547a6b99d409e6c43c316feadb6b..f0f7c8dffe2d9c3a2e15e7b1143925b7d221f321 100644
--- a/content/public/gpu/content_gpu_client.cc
+++ b/content/public/common/mhtml_generation.cc
@@ -2,12 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "content/public/gpu/content_gpu_client.h"
+#include "content/public/common/mhtml_generation.h"
+
+#include "base/files/file_path.h"
namespace content {
-gpu::SyncPointManager* ContentGpuClient::GetSyncPointManager() {
- return nullptr;
-}
+MHTMLGenerationParams::MHTMLGenerationParams(const base::FilePath& file_path)
+ : file_path(file_path) {}
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698