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

Side by Side Diff: components/error_page/renderer/net_error_helper_core.h

Issue 1728033002: components: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 #ifndef COMPONENTS_ERROR_PAGE_RENDERER_NET_ERROR_HELPER_CORE_H_ 5 #ifndef COMPONENTS_ERROR_PAGE_RENDERER_NET_ERROR_HELPER_CORE_H_
6 #define COMPONENTS_ERROR_PAGE_RENDERER_NET_ERROR_HELPER_CORE_H_ 6 #define COMPONENTS_ERROR_PAGE_RENDERER_NET_ERROR_HELPER_CORE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // Note that this is different from the saved copy in the cache as in 123 // Note that this is different from the saved copy in the cache as in
124 // LoadPageFromCache. 124 // LoadPageFromCache.
125 virtual void LoadOfflineCopy(const GURL& page_url) = 0; 125 virtual void LoadOfflineCopy(const GURL& page_url) = 0;
126 126
127 protected: 127 protected:
128 virtual ~Delegate() {} 128 virtual ~Delegate() {}
129 }; 129 };
130 130
131 struct NavigationCorrectionParams { 131 struct NavigationCorrectionParams {
132 NavigationCorrectionParams(); 132 NavigationCorrectionParams();
133 NavigationCorrectionParams(const NavigationCorrectionParams& other);
133 ~NavigationCorrectionParams(); 134 ~NavigationCorrectionParams();
134 135
135 // URL used both for getting the suggestions and tracking clicks. 136 // URL used both for getting the suggestions and tracking clicks.
136 GURL url; 137 GURL url;
137 138
138 std::string language; 139 std::string language;
139 std::string country_code; 140 std::string country_code;
140 std::string api_key; 141 std::string api_key;
141 GURL search_url; 142 GURL search_url;
142 }; 143 };
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 308
308 // This value is set only when a navigation has been initiated from 309 // This value is set only when a navigation has been initiated from
309 // the error page. It is used to detect when such navigations result 310 // the error page. It is used to detect when such navigations result
310 // in errors. 311 // in errors.
311 Button navigation_from_button_; 312 Button navigation_from_button_;
312 }; 313 };
313 314
314 } // namespace error_page 315 } // namespace error_page
315 316
316 #endif // COMPONENTS_ERROR_PAGE_RENDERER_NET_ERROR_HELPER_CORE_H_ 317 #endif // COMPONENTS_ERROR_PAGE_RENDERER_NET_ERROR_HELPER_CORE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698