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

Side by Side Diff: chrome/browser/external_protocol/external_protocol_handler.h

Issue 2664253006: Clears out external protocol data when cookies and site data is cleared. (Closed)
Patch Set: a Created 3 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_ 5 #ifndef CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_
6 #define CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_ 6 #define CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 // to protect against this scenario. 133 // to protect against this scenario.
134 // This is implemented separately on each platform. 134 // This is implemented separately on each platform.
135 // TODO(davidsac): Consider refactoring this to take a WebContents directly. 135 // TODO(davidsac): Consider refactoring this to take a WebContents directly.
136 // crbug.com/668289 136 // crbug.com/668289
137 static void RunExternalProtocolDialog(const GURL& url, 137 static void RunExternalProtocolDialog(const GURL& url,
138 int render_process_host_id, 138 int render_process_host_id,
139 int routing_id, 139 int routing_id,
140 ui::PageTransition page_transition, 140 ui::PageTransition page_transition,
141 bool has_user_gesture); 141 bool has_user_gesture);
142 142
143 // Clears the external protocol handling data.
144 static void ClearData(Profile* profile);
145
143 private: 146 private:
144 DISALLOW_COPY_AND_ASSIGN(ExternalProtocolHandler); 147 DISALLOW_COPY_AND_ASSIGN(ExternalProtocolHandler);
145 }; 148 };
146 149
147 #endif // CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_ 150 #endif // CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698