Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(126)

Side by Side Diff: chrome/browser/chromeos/policy/app_pack_updater.cc

Issue 15798019: Use a direct include of strings headers in chrome/browser/chromeos/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/policy/app_pack_updater.h" 5 #include "chrome/browser/chromeos/policy/app_pack_updater.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/files/file_enumerator.h" 10 #include "base/files/file_enumerator.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/stl_util.h" 12 #include "base/stl_util.h"
13 #include "base/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "base/values.h" 14 #include "base/values.h"
15 #include "base/version.h" 15 #include "base/version.h"
16 #include "chrome/browser/browser_process.h" 16 #include "chrome/browser/browser_process.h"
17 #include "chrome/browser/chromeos/policy/enterprise_install_attributes.h" 17 #include "chrome/browser/chromeos/policy/enterprise_install_attributes.h"
18 #include "chrome/browser/chromeos/settings/cros_settings.h" 18 #include "chrome/browser/chromeos/settings/cros_settings.h"
19 #include "chrome/browser/chromeos/settings/cros_settings_names.h" 19 #include "chrome/browser/chromeos/settings/cros_settings_names.h"
20 #include "chrome/browser/extensions/crx_installer.h" 20 #include "chrome/browser/extensions/crx_installer.h"
21 #include "chrome/browser/extensions/external_loader.h" 21 #include "chrome/browser/extensions/external_loader.h"
22 #include "chrome/browser/extensions/external_provider_impl.h" 22 #include "chrome/browser/extensions/external_provider_impl.h"
23 #include "chrome/browser/extensions/updater/extension_downloader.h" 23 #include "chrome/browser/extensions/updater/extension_downloader.h"
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 void AppPackUpdater::SetScreenSaverPath(const base::FilePath& path) { 558 void AppPackUpdater::SetScreenSaverPath(const base::FilePath& path) {
559 // Don't invoke the callback if the path isn't changing. 559 // Don't invoke the callback if the path isn't changing.
560 if (path != screen_saver_path_) { 560 if (path != screen_saver_path_) {
561 screen_saver_path_ = path; 561 screen_saver_path_ = path;
562 if (!screen_saver_update_callback_.is_null()) 562 if (!screen_saver_update_callback_.is_null())
563 screen_saver_update_callback_.Run(screen_saver_path_); 563 screen_saver_update_callback_.Run(screen_saver_path_);
564 } 564 }
565 } 565 }
566 566
567 } // namespace policy 567 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698