summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/notifications
diff options
context:
space:
mode:
authordilmah@chromium.org <dilmah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-16 14:21:07 +0000
committerdilmah@chromium.org <dilmah@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-16 14:21:07 +0000
commit440e4928ac89d844f79bb4377ced0a2d964c5d0a (patch)
treee28c53dd191ea1e45c22ce7d34aba0a17e8af549 /chrome/browser/chromeos/notifications
parent5832419f9625a1e286b5c796f1217fa4c3247087 (diff)
downloadchromium_src-440e4928ac89d844f79bb4377ced0a2d964c5d0a.zip
chromium_src-440e4928ac89d844f79bb4377ced0a2d964c5d0a.tar.gz
chromium_src-440e4928ac89d844f79bb4377ced0a2d964c5d0a.tar.bz2
Google codestyle prescribes sorting #include filenames within a section.
Do it fast with following shell script: export LC_ALL=C find chrome/browser/chromeos/ -name '*.h' -o -name '*.cc' \ | xargs grep -C1 '^#include' \ | awk -F: '$2 !~ "include" { prev=""; next } ($2 <= prev) { print $1 } { prev=$2 }' \ | uniq \ | xargs -n1 sh -c 'cat "$1" \ | awk "{ tag=((/^#include/) \"_\" (/</) \"_\" (/third.party/)); print tag \"\t\" \$0 }" \ | awk -vi=0 -F\\t "{ if (!/^1_0_/ || \$1 != prev) { ++i } } { printf \"%09d\t%s\n\",i,\$0; prev=\$1 }" \ | sort \ | sed "s/^[0-9]*\t[0-9]_[0-9]_[0-9]\t//" > "$1".fixed; mv -f "$1".fixed "$1"' xxx BUG=None TEST=Manual Review URL: http://codereview.chromium.org/3402010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59646 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/chromeos/notifications')
-rw-r--r--chrome/browser/chromeos/notifications/notification_panel.cc2
-rw-r--r--chrome/browser/chromeos/notifications/notification_panel.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/chromeos/notifications/notification_panel.cc b/chrome/browser/chromeos/notifications/notification_panel.cc
index fd59bf6..2b48256 100644
--- a/chrome/browser/chromeos/notifications/notification_panel.cc
+++ b/chrome/browser/chromeos/notifications/notification_panel.cc
@@ -10,9 +10,9 @@
#include "app/resource_bundle.h"
#include "chrome/browser/chromeos/notifications/balloon_collection_impl.h"
#include "chrome/browser/chromeos/notifications/balloon_view.h"
+#include "cros/chromeos_wm_ipc_enums.h"
#include "gfx/canvas.h"
#include "grit/generated_resources.h"
-#include "cros/chromeos_wm_ipc_enums.h"
#include "views/background.h"
#include "views/controls/native/native_view_host.h"
#include "views/controls/scroll_view.h"
diff --git a/chrome/browser/chromeos/notifications/notification_panel.h b/chrome/browser/chromeos/notifications/notification_panel.h
index 7c9f759..96739bc 100644
--- a/chrome/browser/chromeos/notifications/notification_panel.h
+++ b/chrome/browser/chromeos/notifications/notification_panel.h
@@ -8,8 +8,8 @@
#define CHROME_BROWSER_CHROMEOS_NOTIFICATIONS_NOTIFICATION_PANEL_H_
#pragma once
-#include "base/task.h"
#include "base/scoped_ptr.h"
+#include "base/task.h"
#include "chrome/browser/chromeos/frame/panel_controller.h"
#include "chrome/browser/chromeos/notifications/balloon_collection_impl.h"
#include "chrome/common/notification_registrar.h"