Chromium Code Reviews| Index: content/common/savable_subframe.h |
| diff --git a/content/common/savable_subframe.h b/content/common/savable_subframe.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ec7f572b64279c8800d746b92914f52317ede130 |
| --- /dev/null |
| +++ b/content/common/savable_subframe.h |
| @@ -0,0 +1,23 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CONTENT_COMMON_SAVABLE_SUBFRAME_H_ |
| +#define CONTENT_COMMON_SAVABLE_SUBFRAME_H_ |
| + |
| +#include "url/gurl.h" |
| + |
|
ncarter (slow)
2015/10/28 22:28:38
This file needs to be added to content_common.gypi
Łukasz Anforowicz
2015/10/28 23:12:06
Done.
|
| +namespace content { |
| + |
| +// Information about a subframe being saved as "complete html". |
| +struct SavableSubframe { |
| + // Original url of the subframe (i.e. based the parent's html sources). |
| + GURL original_url; |
| + |
| + // Routing ID of the RenderFrame or RenderFrameProxy for the subframe. |
| + int routing_id; |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_COMMON_SAVABLE_SUBFRAME_H_ |