diff options
author | thakis <thakis@chromium.org> | 2015-07-06 17:46:19 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-07 00:46:59 +0000 |
commit | cb740d7f4bb87795be38aa3bfa527618f0e99eab (patch) | |
tree | 0f55aed352de1f0ce9a25795015a3401ebffe435 | |
parent | db5f76f72a30449c649779f43f89338893756b42 (diff) | |
download | chromium_src-cb740d7f4bb87795be38aa3bfa527618f0e99eab.zip chromium_src-cb740d7f4bb87795be38aa3bfa527618f0e99eab.tar.gz chromium_src-cb740d7f4bb87795be38aa3bfa527618f0e99eab.tar.bz2 |
Remove a useless attribute in a file only built with the gyp build.
This is a follow-up to https://codereview.chromium.org/1221073004 which was
probably authored using the gn build.
Should fix:
..\..\components/session_manager/core/session_manager.h(17,6) : error: 'dllexport' attribute only applies to variables, functions and classes [-Werror,-Wignored-attributes]
enum SESSION_EXPORT SessionState {
^
..\..\components/session_manager/session_manager_export.h(12,35) : note: expanded from macro 'SESSION_EXPORT'
^
https://codereview.chromium.org/981023002/#msg17 asks if it's intentional that
this file is built in the gyp build but not in the gn build.
No intended behavior change.
BUG=504695
TBR=benwells,nkostylev
Review URL: https://codereview.chromium.org/1220043007
Cr-Commit-Position: refs/heads/master@{#337537}
-rw-r--r-- | components/session_manager/core/session_manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/session_manager/core/session_manager.h b/components/session_manager/core/session_manager.h index d2e9704..fe2d50e 100644 --- a/components/session_manager/core/session_manager.h +++ b/components/session_manager/core/session_manager.h @@ -14,7 +14,7 @@ class SessionManagerDelegate; // TODO(nkostylev): Get rid/consolidate with: // ash::SessionStateDelegate::SessionState and chromeos::LoggedInState. -enum SESSION_EXPORT SessionState { +enum SessionState { // Default value, when session state hasn't been initialized yet. SESSION_STATE_UNKNOWN = 0, |