OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "content/renderer/internal_document_state_data.h" | 5 #include "content/renderer/internal_document_state_data.h" |
6 | 6 |
7 #include "content/public/common/password_form.h" | |
8 #include "content/public/renderer/document_state.h" | 7 #include "content/public/renderer/document_state.h" |
9 #include "content/renderer/fetchers/alt_error_page_resource_fetcher.h" | 8 #include "content/renderer/fetchers/alt_error_page_resource_fetcher.h" |
10 #include "third_party/WebKit/public/web/WebDataSource.h" | 9 #include "third_party/WebKit/public/web/WebDataSource.h" |
11 | 10 |
12 namespace content { | 11 namespace content { |
13 | 12 |
14 namespace { | 13 namespace { |
15 | 14 |
16 // Key InternalDocumentStateData is stored under in DocumentState. | 15 // Key InternalDocumentStateData is stored under in DocumentState. |
17 const char kUserDataKey[] = "InternalDocumentStateData"; | 16 const char kUserDataKey[] = "InternalDocumentStateData"; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 | 52 |
54 InternalDocumentStateData::~InternalDocumentStateData() { | 53 InternalDocumentStateData::~InternalDocumentStateData() { |
55 } | 54 } |
56 | 55 |
57 void InternalDocumentStateData::set_alt_error_page_fetcher( | 56 void InternalDocumentStateData::set_alt_error_page_fetcher( |
58 AltErrorPageResourceFetcher* f) { | 57 AltErrorPageResourceFetcher* f) { |
59 alt_error_page_fetcher_.reset(f); | 58 alt_error_page_fetcher_.reset(f); |
60 } | 59 } |
61 | 60 |
62 } // namespace content | 61 } // namespace content |
OLD | NEW |