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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/googleurl_dummy.cc
diff --git a/chrome/common/googleurl_dummy.cc b/chrome/common/googleurl_dummy.cc
index f55c263fa13775b5f01d5488877e1d85ca291490..7a26de1dc99298272d296e949b1bf852018d4266 100644
--- a/chrome/common/googleurl_dummy.cc
+++ b/chrome/common/googleurl_dummy.cc
@@ -1,7 +1,12 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+class GURL {
+ public:
+ bool __declspec(dllexport) SchemeIs(const char*) const { return false; }
+};
+
namespace url_util {
// A dummy version of the url_util function called by url_constants.cc for all

Powered by Google App Engine
This is Rietveld 408576698