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

Side by Side Diff: chrome/browser/cookies_tree_model.cc

Issue 2819063: Cleanup: Remove unneeded headers from app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: forward declare Created 10 years, 4 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/cookies_tree_model.h" 5 #include "chrome/browser/cookies_tree_model.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <functional> 8 #include <functional>
9 #include <vector> 9 #include <vector>
10 10
11 #include "app/l10n_util.h" 11 #include "app/l10n_util.h"
12 #include "app/resource_bundle.h" 12 #include "app/resource_bundle.h"
13 #include "app/table_model_observer.h"
14 #include "app/tree_node_model.h"
15 #include "base/callback.h" 13 #include "base/callback.h"
16 #include "base/i18n/rtl.h" 14 #include "base/i18n/rtl.h"
17 #include "base/linked_ptr.h" 15 #include "base/linked_ptr.h"
18 #include "base/string_util.h" 16 #include "base/string_util.h"
19 #include "chrome/browser/extensions/extensions_service.h" 17 #include "chrome/browser/extensions/extensions_service.h"
20 #include "chrome/browser/in_process_webkit/webkit_context.h" 18 #include "chrome/browser/in_process_webkit/webkit_context.h"
21 #include "grit/app_resources.h" 19 #include "grit/app_resources.h"
22 #include "grit/generated_resources.h" 20 #include "grit/generated_resources.h"
23 #include "grit/theme_resources.h" 21 #include "grit/theme_resources.h"
24 #include "net/base/cookie_monster.h" 22 #include "net/base/cookie_monster.h"
(...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 581
584 void CookiesTreeModel::NotifyObserverEndBatch() { 582 void CookiesTreeModel::NotifyObserverEndBatch() {
585 // Only notify the observers if this is the outermost call to EndBatch() if 583 // Only notify the observers if this is the outermost call to EndBatch() if
586 // called in a nested manner. 584 // called in a nested manner.
587 if (--batch_update_ == 0) { 585 if (--batch_update_ == 0) {
588 FOR_EACH_OBSERVER(Observer, 586 FOR_EACH_OBSERVER(Observer,
589 cookies_observer_list_, 587 cookies_observer_list_,
590 TreeModelEndBatch(this)); 588 TreeModelEndBatch(this));
591 } 589 }
592 } 590 }
OLDNEW
« no previous file with comments | « chrome/browser/cookie_modal_dialog_gtk.cc ('k') | chrome/browser/cookies_tree_model_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698