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

Side by Side Diff: components/data_reduction_proxy/content/browser/data_reduction_proxy_debug_ui_manager.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_DATA_REDUCTION_PROXY_CONTENT_BROWSER_DATA_REDUCTION_PROXY_DEB UG_UI_MANAGER_H_ 5 #ifndef COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_DATA_REDUCTION_PROXY_DEB UG_UI_MANAGER_H_
6 #define COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_DATA_REDUCTION_PROXY_DEB UG_UI_MANAGER_H_ 6 #define COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_DATA_REDUCTION_PROXY_DEB UG_UI_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 14 matching lines...) Expand all
25 : public base::RefCountedThreadSafe<DataReductionProxyDebugUIManager> { 25 : public base::RefCountedThreadSafe<DataReductionProxyDebugUIManager> {
26 public: 26 public:
27 // Passed a boolean indicating whether or not it is OK to proceed with 27 // Passed a boolean indicating whether or not it is OK to proceed with
28 // loading an URL. 28 // loading an URL.
29 typedef base::Callback<void(bool /*proceed*/)> UrlCheckCallback; 29 typedef base::Callback<void(bool /*proceed*/)> UrlCheckCallback;
30 30
31 // Structure used to pass parameters between the IO and UI thread when 31 // Structure used to pass parameters between the IO and UI thread when
32 // interacting with the blocking page. 32 // interacting with the blocking page.
33 struct BypassResource { 33 struct BypassResource {
34 BypassResource(); 34 BypassResource();
35 BypassResource(const BypassResource& other);
35 ~BypassResource(); 36 ~BypassResource();
36 37
37 GURL url; 38 GURL url;
38 bool is_subresource; 39 bool is_subresource;
39 UrlCheckCallback callback; // This is called back on the IO thread. 40 UrlCheckCallback callback; // This is called back on the IO thread.
40 int render_process_host_id; 41 int render_process_host_id;
41 int render_view_id; 42 int render_view_id;
42 }; 43 };
43 44
44 // The DataReductionProxyDebugUIManager handles displaying blocking pages. 45 // The DataReductionProxyDebugUIManager handles displaying blocking pages.
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_; 89 scoped_refptr<base::SingleThreadTaskRunner> io_task_runner_;
89 90
90 const std::string& app_locale_; 91 const std::string& app_locale_;
91 92
92 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyDebugUIManager); 93 DISALLOW_COPY_AND_ASSIGN(DataReductionProxyDebugUIManager);
93 }; 94 };
94 95
95 } // namespace data_reduction_proxy 96 } // namespace data_reduction_proxy
96 97
97 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_DATA_REDUCTION_PROXY_ DEBUG_UI_MANAGER_H_ 98 #endif // COMPONENTS_DATA_REDUCTION_PROXY_CONTENT_BROWSER_DATA_REDUCTION_PROXY_ DEBUG_UI_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698