summaryrefslogtreecommitdiffstats
path: root/cloud_print/service/win/cloud_print_service.cc
diff options
context:
space:
mode:
authorvitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-27 22:19:49 +0000
committervitalybuka@chromium.org <vitalybuka@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-27 22:19:49 +0000
commitac3d98c703d0c3410dfea86c852d469096c9add9 (patch)
treea5ad926c93ab21877c463c36436462adc7924b8d /cloud_print/service/win/cloud_print_service.cc
parent5bd4c4be34fcaec1e41d4753f0734b189ac9563e (diff)
downloadchromium_src-ac3d98c703d0c3410dfea86c852d469096c9add9.zip
chromium_src-ac3d98c703d0c3410dfea86c852d469096c9add9.tar.gz
chromium_src-ac3d98c703d0c3410dfea86c852d469096c9add9.tar.bz2
Remove autorun values if it points to the same user data as service.
BUG=224219 Review URL: https://chromiumcodereview.appspot.com/13042016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@191050 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print/service/win/cloud_print_service.cc')
-rw-r--r--cloud_print/service/win/cloud_print_service.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cloud_print/service/win/cloud_print_service.cc b/cloud_print/service/win/cloud_print_service.cc
index 9a04f15..467c247 100644
--- a/cloud_print/service/win/cloud_print_service.cc
+++ b/cloud_print/service/win/cloud_print_service.cc
@@ -182,6 +182,7 @@ class CloudPrintServiceModule
user_data_dir_switch_ =
command_line.GetSwitchValuePath(switches::kUserDataDir);
+ file_util::AbsolutePath(&user_data_dir_switch_);
if (command_line.HasSwitch(kStopSwitch))
return controller_->StopService();