1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef CHROME_BROWSER_LOCAL_DISCOVERY_STORAGE_PATH_UTIL_H_ 6 #define CHROME_BROWSER_LOCAL_DISCOVERY_STORAGE_PATH_UTIL_H_ 7 8 #include "base/files/file_path.h" 9 10 namespace local_discovery { 11 12 base::FilePath NormalizeFilePath(const base::FilePath& path); 13 14 struct ParsedPrivetPath { 15 explicit ParsedPrivetPath(const base::FilePath& path); 16 ~ParsedPrivetPath(); 17 18 std::string service_name; 19 std::string path; 20 }; 21 22 23 } // namespace local_discovery 24 25 #endif // CHROME_BROWSER_LOCAL_DISCOVERY_STORAGE_PATH_UTIL_H_ 26