2013-06-24 20:57:05 +02:00
|
|
|
// Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights
|
|
|
|
// reserved. Use of this source code is governed by a BSD-style license that
|
|
|
|
// can be found in the LICENSE file.
|
|
|
|
|
2015-11-26 03:53:12 +01:00
|
|
|
#include "libcef/common/net/net_resource_provider.h"
|
2018-10-19 20:39:54 +02:00
|
|
|
|
|
|
|
#include "chrome/common/net/net_resource_provider.h"
|
2013-06-24 20:57:05 +02:00
|
|
|
|
|
|
|
base::StringPiece NetResourceProvider(int key) {
|
2018-10-19 20:39:54 +02:00
|
|
|
// Chrome performs substitution of localized strings for directory listings.
|
|
|
|
base::StringPiece value = chrome_common_net::NetResourceProvider(key);
|
|
|
|
if (value.empty())
|
|
|
|
LOG(ERROR) << "No data resource available for id " << key;
|
|
|
|
return value;
|
2013-06-24 20:57:05 +02:00
|
|
|
}
|