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

Side by Side Diff: content/browser/webui/url_data_manager_backend.h

Issue 667943003: Standardize usage of virtual/override/final in content/browser/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_BACKEND_H_ 5 #ifndef CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_BACKEND_H_
6 #define CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_BACKEND_H_ 6 #define CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_BACKEND_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 21 matching lines...) Expand all
32 class URLRequestChromeJob; 32 class URLRequestChromeJob;
33 33
34 // URLDataManagerBackend is used internally by ChromeURLDataManager on the IO 34 // URLDataManagerBackend is used internally by ChromeURLDataManager on the IO
35 // thread. In most cases you can use the API in ChromeURLDataManager and ignore 35 // thread. In most cases you can use the API in ChromeURLDataManager and ignore
36 // this class. URLDataManagerBackend is owned by ResourceContext. 36 // this class. URLDataManagerBackend is owned by ResourceContext.
37 class URLDataManagerBackend : public base::SupportsUserData::Data { 37 class URLDataManagerBackend : public base::SupportsUserData::Data {
38 public: 38 public:
39 typedef int RequestID; 39 typedef int RequestID;
40 40
41 URLDataManagerBackend(); 41 URLDataManagerBackend();
42 virtual ~URLDataManagerBackend(); 42 ~URLDataManagerBackend() override;
43 43
44 // Invoked to create the protocol handler for chrome://. |is_incognito| should 44 // Invoked to create the protocol handler for chrome://. |is_incognito| should
45 // be set for incognito profiles. Called on the UI thread. 45 // be set for incognito profiles. Called on the UI thread.
46 static net::URLRequestJobFactory::ProtocolHandler* CreateProtocolHandler( 46 static net::URLRequestJobFactory::ProtocolHandler* CreateProtocolHandler(
47 content::ResourceContext* resource_context, 47 content::ResourceContext* resource_context,
48 bool is_incognito, 48 bool is_incognito,
49 AppCacheServiceImpl* appcache_service, 49 AppCacheServiceImpl* appcache_service,
50 ChromeBlobStorageContext* blob_storage_context); 50 ChromeBlobStorageContext* blob_storage_context);
51 51
52 // Adds a DataSource to the collection of data sources. 52 // Adds a DataSource to the collection of data sources.
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 // Creates protocol handler for chrome-devtools://. |is_incognito| should be 107 // Creates protocol handler for chrome-devtools://. |is_incognito| should be
108 // set for incognito profiles. 108 // set for incognito profiles.
109 net::URLRequestJobFactory::ProtocolHandler* 109 net::URLRequestJobFactory::ProtocolHandler*
110 CreateDevToolsProtocolHandler(content::ResourceContext* resource_context, 110 CreateDevToolsProtocolHandler(content::ResourceContext* resource_context,
111 bool is_incognito); 111 bool is_incognito);
112 112
113 } // namespace content 113 } // namespace content
114 114
115 #endif // CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_BACKEND_H_ 115 #endif // CONTENT_BROWSER_WEBUI_URL_DATA_MANAGER_BACKEND_H_
OLDNEW
« no previous file with comments | « content/browser/webui/url_data_manager.h ('k') | content/browser/webui/url_data_manager_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698