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

Side by Side Diff: content/shell/shell_content_browser_client.h

Issue 9557009: IndexedDB: chrome-side changes for permission check from shared worker (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move test to separate CL 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
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_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 const GURL& url, 78 const GURL& url,
79 const string16& name, 79 const string16& name,
80 const string16& display_name, 80 const string16& display_name,
81 unsigned long estimated_size, 81 unsigned long estimated_size,
82 content::ResourceContext* context, 82 content::ResourceContext* context,
83 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; 83 const std::vector<std::pair<int, int> >& render_views) OVERRIDE;
84 virtual bool AllowWorkerFileSystem( 84 virtual bool AllowWorkerFileSystem(
85 const GURL& url, 85 const GURL& url,
86 content::ResourceContext* context, 86 content::ResourceContext* context,
87 const std::vector<std::pair<int, int> >& render_views) OVERRIDE; 87 const std::vector<std::pair<int, int> >& render_views) OVERRIDE;
88 virtual bool AllowWorkerIndexedDB(
89 const GURL& url,
90 const string16& name,
91 content::ResourceContext* context,
92 const std::vector<std::pair<int, int> >& render_views) OVERRIDE;
88 virtual net::URLRequestContext* OverrideRequestContextForURL( 93 virtual net::URLRequestContext* OverrideRequestContextForURL(
89 const GURL& url, content::ResourceContext* context) OVERRIDE; 94 const GURL& url, content::ResourceContext* context) OVERRIDE;
90 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE; 95 virtual QuotaPermissionContext* CreateQuotaPermissionContext() OVERRIDE;
91 virtual void OpenItem(const FilePath& path) OVERRIDE; 96 virtual void OpenItem(const FilePath& path) OVERRIDE;
92 virtual void ShowItemInFolder(const FilePath& path) OVERRIDE; 97 virtual void ShowItemInFolder(const FilePath& path) OVERRIDE;
93 virtual void AllowCertificateError( 98 virtual void AllowCertificateError(
94 int render_process_id, 99 int render_process_id,
95 int render_view_id, 100 int render_view_id,
96 int cert_error, 101 int cert_error,
97 const net::SSLInfo& ssl_info, 102 const net::SSLInfo& ssl_info,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 const GURL& url) OVERRIDE; 178 const GURL& url) OVERRIDE;
174 #endif 179 #endif
175 180
176 private: 181 private:
177 ShellBrowserMainParts* shell_browser_main_parts_; 182 ShellBrowserMainParts* shell_browser_main_parts_;
178 }; 183 };
179 184
180 } // namespace content 185 } // namespace content
181 186
182 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 187 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698