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

Side by Side Diff: chromeos/dbus/fake_easy_unlock_client.cc

Issue 1846723007: Fix IWYU violators that don't include scoped_ptr.h in CrOS build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 "base/json/json_string_value_serializer.h" 5 #include "base/json/json_string_value_serializer.h"
6 #include "base/memory/scoped_ptr.h"
6 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
7 #include "chromeos/dbus/fake_easy_unlock_client.h" 8 #include "chromeos/dbus/fake_easy_unlock_client.h"
8 9
9 namespace { 10 namespace {
10 11
11 // Keys generated using |GenerateEcP256KeyPair| are in the following format: 12 // Keys generated using |GenerateEcP256KeyPair| are in the following format:
12 // "{<key_type>: <key_pair_index>}". 13 // "{<key_type>: <key_pair_index>}".
13 // <key_pair_index> is an integer identifying 14 // <key_pair_index> is an integer identifying
14 // the key pair. 15 // the key pair.
15 // <key_type> specifies whether the key is public or private. It can have one 16 // <key_type> specifies whether the key is public or private. It can have one
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 "\"signature_type\": \"%s\"" 144 "\"signature_type\": \"%s\""
144 "}}", 145 "}}",
145 message.c_str(), 146 message.c_str(),
146 options.key.c_str(), 147 options.key.c_str(),
147 options.associated_data.c_str(), 148 options.associated_data.c_str(),
148 options.encryption_type.c_str(), 149 options.encryption_type.c_str(),
149 options.signature_type.c_str())); 150 options.signature_type.c_str()));
150 } 151 }
151 152
152 } // namespace chromeos 153 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/audio/audio_devices_pref_handler_impl.h ('k') | chromeos/disks/mock_disk_mount_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698