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

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

Issue 2028823002: Refactor to make BlimpLocationProvider accessible to content layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes try issue Created 4 years, 6 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) 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 <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 600 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 // |browser_context| is needed in the additional FileSystemBackends. 611 // |browser_context| is needed in the additional FileSystemBackends.
612 // It has mount points to create objects returned by additional 612 // It has mount points to create objects returned by additional
613 // FileSystemBackends, and SpecialStoragePolicy for permission granting. 613 // FileSystemBackends, and SpecialStoragePolicy for permission granting.
614 virtual void GetAdditionalFileSystemBackends( 614 virtual void GetAdditionalFileSystemBackends(
615 BrowserContext* browser_context, 615 BrowserContext* browser_context,
616 const base::FilePath& storage_partition_path, 616 const base::FilePath& storage_partition_path,
617 ScopedVector<storage::FileSystemBackend>* additional_backends) {} 617 ScopedVector<storage::FileSystemBackend>* additional_backends) {}
618 618
619 // Allows an embedder to return its own LocationProvider implementation. 619 // Allows an embedder to return its own LocationProvider implementation.
620 // Return nullptr to use the default one for the platform to be created. 620 // Return nullptr to use the default one for the platform to be created.
621 // Caller takes ownership of the returned LocationProvider.
621 // FYI: Used by an external project; please don't remove. 622 // FYI: Used by an external project; please don't remove.
622 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more 623 // Contact Viatcheslav Ostapenko at sl.ostapenko@samsung.com for more
623 // information. 624 // information.
624 virtual LocationProvider* OverrideSystemLocationProvider(); 625 virtual LocationProvider* OverrideSystemLocationProvider();
625 626
627 // Returns true if the location API should use network-based
628 // location approximation in addition to the system provider, if any.
629 virtual bool UseNetworkLocationProviders();
630
626 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. 631 // Creates a new DevToolsManagerDelegate. The caller owns the returned value.
627 // It's valid to return nullptr. 632 // It's valid to return nullptr.
628 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); 633 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate();
629 634
630 // Creates a new TracingDelegate. The caller owns the returned value. 635 // Creates a new TracingDelegate. The caller owns the returned value.
631 // It's valid to return nullptr. 636 // It's valid to return nullptr.
632 virtual TracingDelegate* GetTracingDelegate(); 637 virtual TracingDelegate* GetTracingDelegate();
633 638
634 // Returns true if plugin referred to by the url can use 639 // Returns true if plugin referred to by the url can use
635 // pp::FileIO::RequestOSFileHandle. 640 // pp::FileIO::RequestOSFileHandle.
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 784 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
780 // implementation. Return nullptr to disable external surface video. 785 // implementation. Return nullptr to disable external surface video.
781 virtual ExternalVideoSurfaceContainer* 786 virtual ExternalVideoSurfaceContainer*
782 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 787 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
783 #endif 788 #endif
784 }; 789 };
785 790
786 } // namespace content 791 } // namespace content
787 792
788 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 793 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/mock_location_provider.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698