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

Side by Side Diff: chrome/browser/chromeos/cros/network_library_impl_base.h

Issue 10915106: Renaming instances of "flimflam" with "shill", now that we're only (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Upload after merge Created 8 years, 3 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 #ifndef CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_BASE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_BASE_H_
6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_BASE_H_ 6 #define CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_BASE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <set> 9 #include <set>
10 10
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
331 331
332 // Calls ForgetNetwork for remembered wifi and virtual networks based on id. 332 // Calls ForgetNetwork for remembered wifi and virtual networks based on id.
333 // When |if_found| is true, then it forgets networks that appear in |ids|. 333 // When |if_found| is true, then it forgets networks that appear in |ids|.
334 // When |if_found| is false, it removes networks that do NOT appear in |ids|. 334 // When |if_found| is false, it removes networks that do NOT appear in |ids|.
335 // |source| is the import source of the data. 335 // |source| is the import source of the data.
336 void ForgetNetworksById(NetworkUIData::ONCSource source, 336 void ForgetNetworksById(NetworkUIData::ONCSource source,
337 std::set<std::string> ids, 337 std::set<std::string> ids,
338 bool if_found); 338 bool if_found);
339 339
340 // Checks whether |network| has meanwhile been pruned by ONC policy. If so, 340 // Checks whether |network| has meanwhile been pruned by ONC policy. If so,
341 // instructs flimflam to remove the network, deletes |network| and returns 341 // instructs shill to remove the network, deletes |network| and returns
342 // false. 342 // false.
343 bool ValidateRememberedNetwork(Network* network); 343 bool ValidateRememberedNetwork(Network* network);
344 344
345 // Adds |network| to the remembered networks data structures and returns true 345 // Adds |network| to the remembered networks data structures and returns true
346 // if ValidateRememberedNetwork(network) returns true. Returns false 346 // if ValidateRememberedNetwork(network) returns true. Returns false
347 // otherwise. 347 // otherwise.
348 bool ValidateAndAddRememberedNetwork(Network* network); 348 bool ValidateAndAddRememberedNetwork(Network* network);
349 349
350 void DeleteRememberedNetwork(const std::string& service_path); 350 void DeleteRememberedNetwork(const std::string& service_path);
351 void ClearNetworks(); 351 void ClearNetworks();
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 476
477 // Currently not implemented. TODO(stevenjb): implement or eliminate. 477 // Currently not implemented. TODO(stevenjb): implement or eliminate.
478 bool offline_mode_; 478 bool offline_mode_;
479 479
480 // List of interfaces for which portal check is enabled. 480 // List of interfaces for which portal check is enabled.
481 std::string check_portal_list_; 481 std::string check_portal_list_;
482 482
483 // True if access network library is locked. 483 // True if access network library is locked.
484 bool is_locked_; 484 bool is_locked_;
485 485
486 // TPM module user slot and PIN, needed by flimflam to access certificates. 486 // TPM module user slot and PIN, needed by shill to access certificates.
487 std::string tpm_slot_; 487 std::string tpm_slot_;
488 std::string tpm_pin_; 488 std::string tpm_pin_;
489 489
490 // Type of pending SIM operation, SIM_OPERATION_NONE otherwise. 490 // Type of pending SIM operation, SIM_OPERATION_NONE otherwise.
491 SimOperationType sim_operation_; 491 SimOperationType sim_operation_;
492 492
493 private: 493 private:
494 // List of networks to move to the user profile once logged in. 494 // List of networks to move to the user profile once logged in.
495 std::list<std::string> user_networks_; 495 std::list<std::string> user_networks_;
496 496
497 // Weak pointer factory for canceling a network change callback. 497 // Weak pointer factory for canceling a network change callback.
498 base::WeakPtrFactory<NetworkLibraryImplBase> notify_manager_weak_factory_; 498 base::WeakPtrFactory<NetworkLibraryImplBase> notify_manager_weak_factory_;
499 499
500 // Cellular plan payment time. 500 // Cellular plan payment time.
501 base::Time cellular_plan_payment_time_; 501 base::Time cellular_plan_payment_time_;
502 502
503 // Temporary connection data for async connect calls. 503 // Temporary connection data for async connect calls.
504 ConnectData connect_data_; 504 ConnectData connect_data_;
505 505
506 // Holds unique id to ONC mapping. 506 // Holds unique id to ONC mapping.
507 NetworkOncMap network_onc_map_; 507 NetworkOncMap network_onc_map_;
508 508
509 // Keeps track of what networks ONC has configured. This is used to weed out 509 // Keeps track of what networks ONC has configured. This is used to weed out
510 // stray networks that flimflam still has on file, but are not known on the 510 // stray networks that shill still has on file, but are not known on the
511 // Chrome side. 511 // Chrome side.
512 NetworkSourceMap network_source_map_; 512 NetworkSourceMap network_source_map_;
513 513
514 DISALLOW_COPY_AND_ASSIGN(NetworkLibraryImplBase); 514 DISALLOW_COPY_AND_ASSIGN(NetworkLibraryImplBase);
515 }; 515 };
516 516
517 } // namespace chromeos 517 } // namespace chromeos
518 518
519 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_BASE_H_ 519 #endif // CHROME_BROWSER_CHROMEOS_CROS_NETWORK_LIBRARY_IMPL_BASE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/network_library.cc ('k') | chrome/browser/chromeos/cros/network_library_impl_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698