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

Side by Side Diff: chrome/service/service_process_prefs.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 years, 7 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
« no previous file with comments | « chrome/service/service_process.cc ('k') | chrome/service/service_utility_process_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/service/service_process_prefs.h" 5 #include "chrome/service/service_process_prefs.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
10 #include "base/thread_task_runner_handle.h" 10 #include "base/threading/thread_task_runner_handle.h"
11 #include "base/values.h" 11 #include "base/values.h"
12 #include "components/prefs/pref_filter.h" 12 #include "components/prefs/pref_filter.h"
13 13
14 ServiceProcessPrefs::ServiceProcessPrefs(const base::FilePath& pref_filename, 14 ServiceProcessPrefs::ServiceProcessPrefs(const base::FilePath& pref_filename,
15 base::SequencedTaskRunner* task_runner) 15 base::SequencedTaskRunner* task_runner)
16 : prefs_(new JsonPrefStore(pref_filename, 16 : prefs_(new JsonPrefStore(pref_filename,
17 task_runner, 17 task_runner,
18 std::unique_ptr<PrefFilter>())) {} 18 std::unique_ptr<PrefFilter>())) {}
19 19
20 ServiceProcessPrefs::~ServiceProcessPrefs() {} 20 ServiceProcessPrefs::~ServiceProcessPrefs() {}
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 98
99 void ServiceProcessPrefs::SetValue(const std::string& key, 99 void ServiceProcessPrefs::SetValue(const std::string& key,
100 std::unique_ptr<base::Value> value) { 100 std::unique_ptr<base::Value> value) {
101 prefs_->SetValue(key, std::move(value), 101 prefs_->SetValue(key, std::move(value),
102 WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS); 102 WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS);
103 } 103 }
104 104
105 void ServiceProcessPrefs::RemovePref(const std::string& key) { 105 void ServiceProcessPrefs::RemovePref(const std::string& key) {
106 prefs_->RemoveValue(key, WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS); 106 prefs_->RemoveValue(key, WriteablePrefStore::DEFAULT_PREF_WRITE_FLAGS);
107 } 107 }
OLDNEW
« no previous file with comments | « chrome/service/service_process.cc ('k') | chrome/service/service_utility_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698