| OLD | NEW |
| 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_EXTENSIONS_APP_NOTIFY_CHANNEL_UI_IMPL_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_APP_NOTIFY_CHANNEL_UI_IMPL_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_APP_NOTIFY_CHANNEL_UI_IMPL_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_APP_NOTIFY_CHANNEL_UI_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "chrome/browser/api/sync/profile_sync_service_observer.h" |
| 12 #include "chrome/browser/extensions/app_notify_channel_ui.h" | 13 #include "chrome/browser/extensions/app_notify_channel_ui.h" |
| 13 #include "chrome/browser/sync/profile_sync_service_observer.h" | |
| 14 | 14 |
| 15 class Profile; | 15 class Profile; |
| 16 class TabContents; | 16 class TabContents; |
| 17 | 17 |
| 18 namespace extensions { | 18 namespace extensions { |
| 19 | 19 |
| 20 class AppNotifyChannelUIImpl : public AppNotifyChannelUI, | 20 class AppNotifyChannelUIImpl : public AppNotifyChannelUI, |
| 21 public ProfileSyncServiceObserver { | 21 public ProfileSyncServiceObserver { |
| 22 public: | 22 public: |
| 23 AppNotifyChannelUIImpl(Profile* profile, | 23 AppNotifyChannelUIImpl(Profile* profile, |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 // shown to user and then wait for wizard to get dismissed. | 61 // shown to user and then wait for wizard to get dismissed. |
| 62 // See crbug.com/101842. | 62 // See crbug.com/101842. |
| 63 bool wizard_shown_to_user_; | 63 bool wizard_shown_to_user_; |
| 64 | 64 |
| 65 DISALLOW_COPY_AND_ASSIGN(AppNotifyChannelUIImpl); | 65 DISALLOW_COPY_AND_ASSIGN(AppNotifyChannelUIImpl); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 } // namespace extensions | 68 } // namespace extensions |
| 69 | 69 |
| 70 #endif // CHROME_BROWSER_EXTENSIONS_APP_NOTIFY_CHANNEL_UI_IMPL_H_ | 70 #endif // CHROME_BROWSER_EXTENSIONS_APP_NOTIFY_CHANNEL_UI_IMPL_H_ |
| OLD | NEW |