| Index: trunk/src/printing/backend/cups_helper.cc
|
| ===================================================================
|
| --- trunk/src/printing/backend/cups_helper.cc (revision 270950)
|
| +++ trunk/src/printing/backend/cups_helper.cc (working copy)
|
| @@ -6,10 +6,8 @@
|
|
|
| #include <cups/ppd.h>
|
|
|
| -#include "base/base_paths.h"
|
| #include "base/file_util.h"
|
| #include "base/logging.h"
|
| -#include "base/path_service.h"
|
| #include "base/strings/string_number_conversions.h"
|
| #include "base/strings/string_split.h"
|
| #include "base/strings/string_util.h"
|
| @@ -101,9 +99,8 @@
|
|
|
| std::vector<base::FilePath> file_locations;
|
| file_locations.push_back(base::FilePath(kSystemLpOptionPath));
|
| - base::FilePath homedir;
|
| - PathService::Get(base::DIR_HOME, &homedir);
|
| - file_locations.push_back(base::FilePath(homedir.Append(kUserLpOptionPath)));
|
| + file_locations.push_back(base::FilePath(
|
| + base::GetHomeDir().Append(kUserLpOptionPath)));
|
|
|
| for (std::vector<base::FilePath>::const_iterator it = file_locations.begin();
|
| it != file_locations.end(); ++it) {
|
|
|