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

Side by Side Diff: chromeos/network/network_ui_data.cc

Issue 947173002: Remove duplicate includes from chromeos/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 (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 "chromeos/network/network_ui_data.h" 5 #include "chromeos/network/network_ui_data.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "components/onc/onc_constants.h"
10 9
11 namespace chromeos { 10 namespace chromeos {
12 11
13 // Top-level UI data dictionary keys. 12 // Top-level UI data dictionary keys.
14 const char NetworkUIData::kKeyONCSource[] = "onc_source"; 13 const char NetworkUIData::kKeyONCSource[] = "onc_source";
15 const char NetworkUIData::kKeyUserSettings[] = "user_settings"; 14 const char NetworkUIData::kKeyUserSettings[] = "user_settings";
16 const char NetworkUIData::kONCSourceUserImport[] = "user_import"; 15 const char NetworkUIData::kONCSourceUserImport[] = "user_import";
17 const char NetworkUIData::kONCSourceDevicePolicy[] = "device_policy"; 16 const char NetworkUIData::kONCSourceDevicePolicy[] = "device_policy";
18 const char NetworkUIData::kONCSourceUserPolicy[] = "user_policy"; 17 const char NetworkUIData::kONCSourceUserPolicy[] = "user_policy";
19 18
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 scoped_ptr<NetworkUIData> NetworkUIData::CreateFromONC( 111 scoped_ptr<NetworkUIData> NetworkUIData::CreateFromONC(
113 ::onc::ONCSource onc_source) { 112 ::onc::ONCSource onc_source) {
114 scoped_ptr<NetworkUIData> ui_data(new NetworkUIData()); 113 scoped_ptr<NetworkUIData> ui_data(new NetworkUIData());
115 114
116 ui_data->onc_source_ = onc_source; 115 ui_data->onc_source_ = onc_source;
117 116
118 return ui_data.Pass(); 117 return ui_data.Pass();
119 } 118 }
120 119
121 } // namespace chromeos 120 } // namespace chromeos
OLDNEW
« no previous file with comments | « chromeos/network/network_state_handler.cc ('k') | chromeos/network/onc/onc_certificate_importer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698