Fix warnings reported by cpplint.

This CL fixes the warnings reported by cpplint as follows:
1. Add NOLINT tags to ignore 'runtime/int' warnings on the code that
   uses long (for sysconf) / unsigned long (for mount).
2. Remove some NOLINT tags that are no longer needed.

BUG=chromium:385849
TEST=Tested the following:
1. FEATURES=test emerge-$BOARD platform2`
2. `cpplint.py --filter=-build/header_guard,-build/include_order *.h *.cc`
3. Run the following tests:
   - platform_CrosDisksDBus
   - platform_CrosDisksArchive
   - platform_CrosDisksFilesystem
   - platform_CrosDisksFormat

Change-Id: I10a2aefb2a014b2ec8d03d9fb4c4fabbf8315cb2
Reviewed-on: https://chromium-review.googlesource.com/204456
Tested-by: Ben Chan <benchan@chromium.org>
Reviewed-by: mukesh agrawal <quiche@chromium.org>
Commit-Queue: Ben Chan <benchan@chromium.org>
11 files changed
tree: f8b9b6429055fcc8b230035f0471a0528129b7bb
  1. dbus_bindings/
  2. .gitignore
  3. archive_manager.cc
  4. archive_manager.h
  5. archive_manager_unittest.cc
  6. avfsd-seccomp-amd64.policy
  7. avfsd-seccomp-arm.policy
  8. avfsd-seccomp-x86.policy
  9. cros-disks.conf
  10. cros-disks.gyp
  11. cros_disks_server.cc
  12. cros_disks_server.h
  13. daemon.cc
  14. daemon.h
  15. device_ejector.cc
  16. device_ejector.h
  17. device_event.cc
  18. device_event.h
  19. device_event_dispatcher_interface.h
  20. device_event_moderator.cc
  21. device_event_moderator.h
  22. device_event_moderator_unittest.cc
  23. device_event_queue.cc
  24. device_event_queue.h
  25. device_event_queue_unittest.cc
  26. device_event_source_interface.h
  27. disk.cc
  28. disk.h
  29. disk_manager.cc
  30. disk_manager.h
  31. disk_manager_unittest.cc
  32. disk_unittest.cc
  33. disks_testrunner.cc
  34. exfat_mounter.cc
  35. exfat_mounter.h
  36. external_mounter.cc
  37. external_mounter.h
  38. external_mounter_unittest.cc
  39. file_reader.cc
  40. file_reader.h
  41. file_reader_unittest.cc
  42. filesystem.cc
  43. filesystem.h
  44. format_manager.cc
  45. format_manager.h
  46. format_manager_observer_interface.h
  47. format_manager_unittest.cc
  48. fuse_mounter.cc
  49. fuse_mounter.h
  50. glib_process.cc
  51. glib_process.h
  52. glib_process_unittest.cc
  53. inherit-review-settings-ok
  54. LICENSE
  55. main.cc
  56. metrics.cc
  57. metrics.h
  58. metrics_unittest.cc
  59. mount_entry.cc
  60. mount_entry.h
  61. mount_info.cc
  62. mount_info.h
  63. mount_info_unittest.cc
  64. mount_manager.cc
  65. mount_manager.h
  66. mount_manager_unittest.cc
  67. mount_options.cc
  68. mount_options.h
  69. mount_options_unittest.cc
  70. mounter.cc
  71. mounter.h
  72. mounter_unittest.cc
  73. ntfs_mounter.cc
  74. ntfs_mounter.h
  75. org.chromium.CrosDisks.conf
  76. OWNERS
  77. platform.cc
  78. platform.h
  79. platform_unittest.cc
  80. process.cc
  81. process.h
  82. process_unittest.cc
  83. sandboxed_process.cc
  84. sandboxed_process.h
  85. session_manager_observer_interface.h
  86. session_manager_proxy.cc
  87. session_manager_proxy.h
  88. system_mounter.cc
  89. system_mounter.h
  90. system_mounter_unittest.cc
  91. udev_device.cc
  92. udev_device.h
  93. udev_device_unittest.cc
  94. usb-device-info
  95. usb_device_info.cc
  96. usb_device_info.h
  97. usb_device_info_unittest.cc