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

Side by Side Diff: chrome/common/googleurl_dummy.cc

Issue 7049004: Normalize chrome://foo/ trailing slashes, ChromeURLHostEquals comparison, RIP dead consts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add dummy GURL::SchemeIs for chrome_dll_nacl_win64. Created 9 years, 7 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) 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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698