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

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

Issue 9566035: Move QuotaPermissionContext to content/public/browser and put it in the content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years, 9 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
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/quota_permission_context.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/callback_forward.h" 13 #include "base/callback_forward.h"
14 #include "content/public/common/content_client.h" 14 #include "content/public/common/content_client.h"
15 #include "content/public/common/media_stream_request.h" 15 #include "content/public/common/media_stream_request.h"
16 #include "content/public/common/window_container_type.h" 16 #include "content/public/common/window_container_type.h"
17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen ter.h" 17 #include "third_party/WebKit/Source/WebKit/chromium/public/WebNotificationPresen ter.h"
18 18
19 class BrowserURLHandler; 19 class BrowserURLHandler;
20 class CommandLine; 20 class CommandLine;
21 class FilePath; 21 class FilePath;
22 class GURL; 22 class GURL;
23 class PluginProcessHost; 23 class PluginProcessHost;
24 class QuotaPermissionContext;
25 class RenderViewHost; 24 class RenderViewHost;
26 class ResourceDispatcherHost; 25 class ResourceDispatcherHost;
27 class SkBitmap; 26 class SkBitmap;
28 struct WebPreferences; 27 struct WebPreferences;
29 28
30 namespace content {
31 class AccessTokenStore;
32 class BrowserMainParts;
33 class RenderProcessHost;
34 class SiteInstance;
35 class SpeechInputManagerDelegate;
36 class WebContents;
37 class WebContentsView;
38 struct MainFunctionParams;
39 struct ShowDesktopNotificationHostMsgParams;
40 }
41
42 namespace crypto { 29 namespace crypto {
43 class CryptoModuleBlockingPasswordDelegate; 30 class CryptoModuleBlockingPasswordDelegate;
44 } 31 }
45 32
46 namespace net { 33 namespace net {
47 class CookieList; 34 class CookieList;
48 class CookieOptions; 35 class CookieOptions;
49 class HttpNetworkSession; 36 class HttpNetworkSession;
50 class NetLog; 37 class NetLog;
51 class SSLCertRequestInfo; 38 class SSLCertRequestInfo;
52 class SSLInfo; 39 class SSLInfo;
53 class URLRequest; 40 class URLRequest;
54 class URLRequestContext; 41 class URLRequestContext;
55 class X509Certificate; 42 class X509Certificate;
56 } 43 }
57 44
58 namespace ui { 45 namespace ui {
59 class Clipboard; 46 class Clipboard;
60 } 47 }
61 48
62 namespace content { 49 namespace content {
63 50
51 class AccessTokenStore;
64 class BrowserContext; 52 class BrowserContext;
53 class BrowserMainParts;
54 class RenderProcessHost;
55 class QuotaPermissionContext;
65 class ResourceContext; 56 class ResourceContext;
57 class SiteInstance;
58 class SpeechInputManagerDelegate;
59 class WebContents;
60 class WebContentsView;
66 class WebUIControllerFactory; 61 class WebUIControllerFactory;
62 struct MainFunctionParams;
63 struct ShowDesktopNotificationHostMsgParams;
67 64
68 typedef base::Callback< void(const content::MediaStreamDevices&) > 65 typedef base::Callback< void(const content::MediaStreamDevices&) >
69 MediaResponseCallback; 66 MediaResponseCallback;
70 67
71 // Embedder API (or SPI) for participating in browser logic, to be implemented 68 // Embedder API (or SPI) for participating in browser logic, to be implemented
72 // by the client of the content browser. See ChromeContentBrowserClient for the 69 // by the client of the content browser. See ChromeContentBrowserClient for the
73 // principal implementation. The methods are assumed to be called on the UI 70 // principal implementation. The methods are assumed to be called on the UI
74 // thread unless otherwise specified. Use this "escape hatch" sparingly, to 71 // thread unless otherwise specified. Use this "escape hatch" sparingly, to
75 // avoid the embedder interface ballooning and becoming very specific to Chrome. 72 // avoid the embedder interface ballooning and becoming very specific to Chrome.
76 // (Often, the call out to the client can happen in a different part of the code 73 // (Often, the call out to the client can happen in a different part of the code
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 // This is called on a worker thread. 377 // This is called on a worker thread.
381 virtual 378 virtual
382 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate( 379 crypto::CryptoModuleBlockingPasswordDelegate* GetCryptoPasswordDelegate(
383 const GURL& url) = 0; 380 const GURL& url) = 0;
384 #endif 381 #endif
385 }; 382 };
386 383
387 } // namespace content 384 } // namespace content
388 385
389 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 386 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/content_browser.gypi ('k') | content/public/browser/quota_permission_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698