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

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 168953002: Cleanup: Move kChromeDevToolsScheme constant into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 #include "chrome/browser/chrome_content_browser_client.h" 5 #include "chrome/browser/chrome_content_browser_client.h"
6 6
7 #include <set> 7 #include <set>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 2521 matching lines...) Expand 10 before | Expand all | Expand 10 after
2532 2532
2533 ui::SelectFilePolicy* ChromeContentBrowserClient::CreateSelectFilePolicy( 2533 ui::SelectFilePolicy* ChromeContentBrowserClient::CreateSelectFilePolicy(
2534 WebContents* web_contents) { 2534 WebContents* web_contents) {
2535 return new ChromeSelectFilePolicy(web_contents); 2535 return new ChromeSelectFilePolicy(web_contents);
2536 } 2536 }
2537 2537
2538 void ChromeContentBrowserClient::GetAdditionalAllowedSchemesForFileSystem( 2538 void ChromeContentBrowserClient::GetAdditionalAllowedSchemesForFileSystem(
2539 std::vector<std::string>* additional_allowed_schemes) { 2539 std::vector<std::string>* additional_allowed_schemes) {
2540 ContentBrowserClient::GetAdditionalAllowedSchemesForFileSystem( 2540 ContentBrowserClient::GetAdditionalAllowedSchemesForFileSystem(
2541 additional_allowed_schemes); 2541 additional_allowed_schemes);
2542 additional_allowed_schemes->push_back(kChromeDevToolsScheme); 2542 additional_allowed_schemes->push_back(content::kChromeDevToolsScheme);
2543 additional_allowed_schemes->push_back(content::kChromeUIScheme); 2543 additional_allowed_schemes->push_back(content::kChromeUIScheme);
2544 additional_allowed_schemes->push_back(extensions::kExtensionScheme); 2544 additional_allowed_schemes->push_back(extensions::kExtensionScheme);
2545 } 2545 }
2546 2546
2547 void ChromeContentBrowserClient::GetAdditionalFileSystemBackends( 2547 void ChromeContentBrowserClient::GetAdditionalFileSystemBackends(
2548 content::BrowserContext* browser_context, 2548 content::BrowserContext* browser_context,
2549 const base::FilePath& storage_partition_path, 2549 const base::FilePath& storage_partition_path,
2550 ScopedVector<fileapi::FileSystemBackend>* additional_backends) { 2550 ScopedVector<fileapi::FileSystemBackend>* additional_backends) {
2551 #if !defined(OS_ANDROID) 2551 #if !defined(OS_ANDROID)
2552 base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool(); 2552 base::SequencedWorkerPool* pool = content::BrowserThread::GetBlockingPool();
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
2706 // releases of Chrome. Permitting "Unknown" allows these APIs to be used on 2706 // releases of Chrome. Permitting "Unknown" allows these APIs to be used on
2707 // Chromium builds as well. 2707 // Chromium builds as well.
2708 return channel <= chrome::VersionInfo::CHANNEL_DEV; 2708 return channel <= chrome::VersionInfo::CHANNEL_DEV;
2709 #else 2709 #else
2710 return false; 2710 return false;
2711 #endif 2711 #endif
2712 } 2712 }
2713 2713
2714 2714
2715 } // namespace chrome 2715 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698