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

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

Issue 102593002: Convert string16 to base::string16 in content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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_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 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 307
308 // This is called on the IO thread. 308 // This is called on the IO thread.
309 virtual bool AllowSaveLocalState(ResourceContext* context); 309 virtual bool AllowSaveLocalState(ResourceContext* context);
310 310
311 // Allow the embedder to control if access to web database by a shared worker 311 // Allow the embedder to control if access to web database by a shared worker
312 // is allowed. |render_views| is a vector of pairs of 312 // is allowed. |render_views| is a vector of pairs of
313 // RenderProcessID/RenderViewID of RenderViews that are using this worker. 313 // RenderProcessID/RenderViewID of RenderViews that are using this worker.
314 // This is called on the IO thread. 314 // This is called on the IO thread.
315 virtual bool AllowWorkerDatabase( 315 virtual bool AllowWorkerDatabase(
316 const GURL& url, 316 const GURL& url,
317 const string16& name, 317 const base::string16& name,
318 const string16& display_name, 318 const base::string16& display_name,
319 unsigned long estimated_size, 319 unsigned long estimated_size,
320 ResourceContext* context, 320 ResourceContext* context,
321 const std::vector<std::pair<int, int> >& render_views); 321 const std::vector<std::pair<int, int> >& render_views);
322 322
323 // Allow the embedder to control if access to file system by a shared worker 323 // Allow the embedder to control if access to file system by a shared worker
324 // is allowed. 324 // is allowed.
325 // This is called on the IO thread. 325 // This is called on the IO thread.
326 virtual bool AllowWorkerFileSystem( 326 virtual bool AllowWorkerFileSystem(
327 const GURL& url, 327 const GURL& url,
328 ResourceContext* context, 328 ResourceContext* context,
329 const std::vector<std::pair<int, int> >& render_views); 329 const std::vector<std::pair<int, int> >& render_views);
330 330
331 // Allow the embedder to control if access to IndexedDB by a shared worker 331 // Allow the embedder to control if access to IndexedDB by a shared worker
332 // is allowed. 332 // is allowed.
333 // This is called on the IO thread. 333 // This is called on the IO thread.
334 virtual bool AllowWorkerIndexedDB( 334 virtual bool AllowWorkerIndexedDB(
335 const GURL& url, 335 const GURL& url,
336 const string16& name, 336 const base::string16& name,
337 ResourceContext* context, 337 ResourceContext* context,
338 const std::vector<std::pair<int, int> >& render_views); 338 const std::vector<std::pair<int, int> >& render_views);
339 339
340 // Allow the embedder to override the request context based on the URL for 340 // Allow the embedder to override the request context based on the URL for
341 // certain operations, like cookie access. Returns NULL to indicate the 341 // certain operations, like cookie access. Returns NULL to indicate the
342 // regular request context should be used. 342 // regular request context should be used.
343 // This is called on the IO thread. 343 // This is called on the IO thread.
344 virtual net::URLRequestContext* OverrideRequestContextForURL( 344 virtual net::URLRequestContext* OverrideRequestContextForURL(
345 const GURL& url, ResourceContext* context); 345 const GURL& url, ResourceContext* context);
346 346
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 // Returns true if plugin referred to by the url can use 616 // Returns true if plugin referred to by the url can use
617 // pp::FileIO::RequestOSFileHandle. 617 // pp::FileIO::RequestOSFileHandle.
618 virtual bool IsPluginAllowedToCallRequestOSFileHandle( 618 virtual bool IsPluginAllowedToCallRequestOSFileHandle(
619 content::BrowserContext* browser_context, 619 content::BrowserContext* browser_context,
620 const GURL& url); 620 const GURL& url);
621 }; 621 };
622 622
623 } // namespace content 623 } // namespace content
624 624
625 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 625 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/browser/child_process_data.h ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698