Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Maintenance:8485
chromium.openSUSE_Backports_SLE-12-SP2
chromium-cors-string.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File chromium-cors-string.patch of Package chromium.openSUSE_Backports_SLE-12-SP2
From 01d891fa0790950549c7bedb34edf869827a372e Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz <jose.dapena@lge.com> Date: Thu, 31 May 2018 17:03:37 +0000 Subject: [PATCH] CORS legacy: add missing string include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The cors_legacy.h file includes declarations using std::string, but it is not declared due to missing #include <string>. Also drop unneeded declarations in .cpp file. Change-Id: I00df799f84a6c3530c2f12f1e52d24c7d9bd6bfd Reviewed-on: https://chromium-review.googlesource.com/1080707 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: José Dapena Paz <jose.dapena@lge.com> Cr-Commit-Position: refs/heads/master@{#563282} --- services/network/public/cpp/cors/cors_legacy.cc | 2 -- services/network/public/cpp/cors/cors_legacy.h | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/services/network/public/cpp/cors/cors_legacy.cc b/services/network/public/cpp/cors/cors_legacy.cc index 8f32ac3be64e..f01af63619b5 100644 --- a/services/network/public/cpp/cors/cors_legacy.cc +++ b/services/network/public/cpp/cors/cors_legacy.cc @@ -5,8 +5,6 @@ #include "services/network/public/cpp/cors/cors_legacy.h" #include <algorithm> -#include <string> -#include <vector> #include "url/gurl.h" #include "url/url_util.h" diff --git a/services/network/public/cpp/cors/cors_legacy.h b/services/network/public/cpp/cors/cors_legacy.h index d2cdf026ca3a..dc9295a92c47 100644 --- a/services/network/public/cpp/cors/cors_legacy.h +++ b/services/network/public/cpp/cors/cors_legacy.h @@ -5,6 +5,7 @@ #ifndef SERVICES_NETWORK_PUBLIC_CPP_CORS_CORS_LEGACY_H_ #define SERVICES_NETWORK_PUBLIC_CPP_CORS_CORS_LEGACY_H_ +#include <string> #include <vector> #include "base/component_export.h" -- 2.17.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor