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

Side by Side Diff: chrome/browser/notifications/sync_notifier/synced_notification.cc

Issue 18128002: Use a direct include of time headers in chrome/browser/, part 4. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
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 #include "chrome/browser/notifications/sync_notifier/synced_notification.h" 5 #include "chrome/browser/notifications/sync_notifier/synced_notification.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "base/time.h" 9 #include "base/time/time.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
12 #include "chrome/browser/notifications/notification.h" 12 #include "chrome/browser/notifications/notification.h"
13 #include "chrome/browser/notifications/notification_ui_manager.h" 13 #include "chrome/browser/notifications/notification_ui_manager.h"
14 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.h" 14 #include "chrome/browser/notifications/sync_notifier/chrome_notifier_delegate.h"
15 #include "content/public/browser/browser_thread.h" 15 #include "content/public/browser/browser_thread.h"
16 #include "sync/protocol/sync.pb.h" 16 #include "sync/protocol/sync.pb.h"
17 #include "sync/protocol/synced_notification_specifics.pb.h" 17 #include "sync/protocol/synced_notification_specifics.pb.h"
18 #include "ui/gfx/image/image.h" 18 #include "ui/gfx/image/image.h"
19 #include "ui/message_center/message_center_util.h" 19 #include "ui/message_center/message_center_util.h"
(...skipping 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 int index) const { 561 int index) const {
562 if (specifics_.coalesced_notification().render_info().expanded_info(). 562 if (specifics_.coalesced_notification().render_info().expanded_info().
563 collapsed_info_size() < index + 1) 563 collapsed_info_size() < index + 1)
564 return std::string(); 564 return std::string();
565 565
566 return specifics_.coalesced_notification().render_info().expanded_info(). 566 return specifics_.coalesced_notification().render_info().expanded_info().
567 collapsed_info(index).simple_collapsed_layout().description(); 567 collapsed_info(index).simple_collapsed_layout().description();
568 } 568 }
569 569
570 } // namespace notifier 570 } // namespace notifier
OLDNEW
« no previous file with comments | « chrome/browser/notifications/notification_ui_manager_impl.h ('k') | chrome/browser/omnibox/omnibox_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698