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

Side by Side Diff: content/browser/content_browser_client.h

Issue 7322008: Enable clear cache/cookies support in developer tools (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes Created 9 years, 5 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 | Annotate | Revision Log
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 CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 virtual int GetCrashSignalFD(const std::string& process_type) = 0; 231 virtual int GetCrashSignalFD(const std::string& process_type) = 0;
232 #endif 232 #endif
233 233
234 #if defined(USE_NSS) 234 #if defined(USE_NSS)
235 // Return a delegate to authenticate and unlock |module|. 235 // Return a delegate to authenticate and unlock |module|.
236 // This is called on a worker thread. 236 // This is called on a worker thread.
237 virtual 237 virtual
238 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 238 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
239 const GURL& url) = 0; 239 const GURL& url) = 0;
240 #endif 240 #endif
241
242 // Clears browser cache.
243 virtual void ClearCache(RenderViewHost* rvh) = 0;
244
245 // Clears browser cookies.
246 virtual void ClearCookies(RenderViewHost* rvh) = 0;
241 }; 247 };
242 248
243 } // namespace content 249 } // namespace content
244 250
245 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_ 251 #endif // CONTENT_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698