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

Issue 11418048: Add copy and assignment to FundamentalValue and StringValue. (Closed)

Created:
8 years, 1 month ago by Evan Stade
Modified:
8 years, 1 month ago
Reviewers:
stevenjb, brettw, DaveMoore
CC:
chromium-reviews, nkostylev+watch_chromium.org, feature-media-reviews_chromium.org, gspencer+watch_chromium.org, gauravsh+watch_chromium.org, Aaron Boodman, rginda+watch_chromium.org, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, erikwright+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Add copy and assignment to FundamentalValue and StringValue. Also get rid of use of CreateStringValue in chromeos/ directory. This is a retry of r167808, but adding the copy and assign constructors fixes a clang compile error. BUG=160586 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=168868

Patch Set 1 #

Patch Set 2 : relative to previous patch #

Total comments: 1

Patch Set 3 : return reference #

Patch Set 4 : retry upload #

Patch Set 5 : make parameter names consistent #

Patch Set 6 : retry upload once again #

Patch Set 7 : upload hell #

Patch Set 8 : . #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -132 lines) Patch
M base/values.h View 1 2 3 4 4 chunks +5 lines, -13 lines 0 comments Download
M base/values.cc View 1 2 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/chromeos/cros/cros_network_functions.cc View 2 2 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/cros/cros_network_functions_unittest.cc View 2 15 chunks +45 lines, -45 lines 0 comments Download
M chrome/browser/chromeos/cros/network_library.h View 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/cros/network_library.cc View 2 4 chunks +6 lines, -10 lines 0 comments Download
chrome/browser/chromeos/cros/network_ui_data_unittest.cc View 2 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/extensions/echo_private_api.cc View 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/file_browser_private_api.cc View 2 6 chunks +7 lines, -7 lines 0 comments Download
chrome/browser/chromeos/extensions/file_handler_util.cc View 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/file_manager_util.cc View 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/info_private_api.h View 2 2 chunks +6 lines, -1 line 0 comments Download
chrome/browser/chromeos/extensions/info_private_api.cc View 2 2 chunks +12 lines, -13 lines 0 comments Download
M chrome/browser/chromeos/login/user_image_manager_browsertest.cc View 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/login/user_manager_impl.cc View 1 2 3 4 5 4 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/login/wallpaper_manager_browsertest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
chrome/browser/chromeos/media/media_player_extension_api.cc View 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/proxy_cros_settings_parser.cc View 2 4 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/chromeos/settings/cros_settings_unittest.cc View 2 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_provider.cc View 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/settings/system_settings_provider.h View 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/settings/system_settings_provider.cc View 2 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Evan Stade
clang's complaint was: C++98 requires an accessible copy constructor for class 'base::FundamentalValue' when binding a ...
8 years, 1 month ago (2012-11-16 23:52:33 UTC) #1
brettw
lgtm http://codereview.chromium.org/11418048/diff/2001/base/values.h File base/values.h (right): http://codereview.chromium.org/11418048/diff/2001/base/values.h#newcode120 base/values.h:120: void operator=(const Value& value); This should return Value&
8 years, 1 month ago (2012-11-17 20:57:01 UTC) #2
Evan Stade
+davemoore +stevenjb TBR (it's the same change as before)
8 years, 1 month ago (2012-11-19 18:54:10 UTC) #3
stevenjb
lgtm
8 years, 1 month ago (2012-11-19 20:31:23 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/11418048/7006
8 years, 1 month ago (2012-11-20 01:08:59 UTC) #5
commit-bot: I haz the power
Retried try job too often for step(s) interactive_ui_tests
8 years, 1 month ago (2012-11-20 02:18:22 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/estade@chromium.org/11418048/7006
8 years, 1 month ago (2012-11-20 18:52:25 UTC) #7
commit-bot: I haz the power
8 years, 1 month ago (2012-11-20 20:37:57 UTC) #8
Change committed as 168868

Powered by Google App Engine
This is Rietveld 408576698