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

Side by Side Diff: chrome/browser/profiles/profile_io_data.cc

Issue 104043010: Cleanup: Move kFileSystemScheme constant into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 12 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/profiles/profile_io_data.h" 5 #include "chrome/browser/profiles/profile_io_data.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 chrome::kChromeUIScheme, 682 chrome::kChromeUIScheme,
683 chrome::kDataScheme, 683 chrome::kDataScheme,
684 #if defined(OS_CHROMEOS) 684 #if defined(OS_CHROMEOS)
685 chrome::kDriveScheme, 685 chrome::kDriveScheme,
686 #endif // defined(OS_CHROMEOS) 686 #endif // defined(OS_CHROMEOS)
687 chrome::kAboutScheme, 687 chrome::kAboutScheme,
688 #if !defined(DISABLE_FTP_SUPPORT) 688 #if !defined(DISABLE_FTP_SUPPORT)
689 content::kFtpScheme, 689 content::kFtpScheme,
690 #endif // !defined(DISABLE_FTP_SUPPORT) 690 #endif // !defined(DISABLE_FTP_SUPPORT)
691 chrome::kBlobScheme, 691 chrome::kBlobScheme,
692 chrome::kFileSystemScheme, 692 content::kFileSystemScheme,
693 chrome::kChromeSearchScheme, 693 chrome::kChromeSearchScheme,
694 }; 694 };
695 for (size_t i = 0; i < arraysize(kProtocolList); ++i) { 695 for (size_t i = 0; i < arraysize(kProtocolList); ++i) {
696 if (scheme == kProtocolList[i]) 696 if (scheme == kProtocolList[i])
697 return true; 697 return true;
698 } 698 }
699 return net::URLRequest::IsHandledProtocol(scheme); 699 return net::URLRequest::IsHandledProtocol(scheme);
700 } 700 }
701 701
702 // static 702 // static
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
1207 void ProfileIOData::SetCookieSettingsForTesting( 1207 void ProfileIOData::SetCookieSettingsForTesting(
1208 CookieSettings* cookie_settings) { 1208 CookieSettings* cookie_settings) {
1209 DCHECK(!cookie_settings_.get()); 1209 DCHECK(!cookie_settings_.get());
1210 cookie_settings_ = cookie_settings; 1210 cookie_settings_ = cookie_settings;
1211 } 1211 }
1212 1212
1213 void ProfileIOData::set_signin_names_for_testing( 1213 void ProfileIOData::set_signin_names_for_testing(
1214 SigninNamesOnIOThread* signin_names) { 1214 SigninNamesOnIOThread* signin_names) {
1215 signin_names_.reset(signin_names); 1215 signin_names_.reset(signin_names);
1216 } 1216 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698