OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 class GURL { |
| 6 public: |
| 7 bool __declspec(dllexport) SchemeIs(const char*) const { return false; } |
| 8 }; |
| 9 |
5 namespace url_util { | 10 namespace url_util { |
6 | 11 |
7 // A dummy version of the url_util function called by url_constants.cc for all | 12 // A dummy version of the url_util function called by url_constants.cc for all |
8 // process types. For some processes, we don't want to link against googleurl. | 13 // process types. For some processes, we don't want to link against googleurl. |
9 // rather than having complicated versions of that library (32 and 64 bit ones | 14 // rather than having complicated versions of that library (32 and 64 bit ones |
10 // on Windows) we just instead link this file in cases where googleurl isn't | 15 // on Windows) we just instead link this file in cases where googleurl isn't |
11 // otherwise necessary. | 16 // otherwise necessary. |
12 void AddStandardScheme(const char* new_scheme) { | 17 void AddStandardScheme(const char* new_scheme) { |
13 } | 18 } |
14 | 19 |
15 void LockStandardSchemes() { | 20 void LockStandardSchemes() { |
16 } | 21 } |
17 | 22 |
18 } // namespace url_util | 23 } // namespace url_util |
OLD | NEW |