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

Side by Side Diff: chrome/browser/chromeos/update_browsertest.cc

Issue 5043001: Cleanup: Include browser.h -> ui/browser.h [Part 1]. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years, 1 month 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 "base/ref_counted.h" 5 #include "base/ref_counted.h"
6 #include "base/utf_string_conversions.h" 6 #include "base/utf_string_conversions.h"
7 #include "chrome/browser/browser.h"
8 #include "chrome/browser/browser_list.h" 7 #include "chrome/browser/browser_list.h"
9 #include "chrome/browser/chromeos/cros/mock_update_library.h" 8 #include "chrome/browser/chromeos/cros/mock_update_library.h"
10 #include "chrome/browser/chromeos/update_observer.h" 9 #include "chrome/browser/chromeos/update_observer.h"
11 #include "chrome/browser/tab_contents/tab_contents.h" 10 #include "chrome/browser/tab_contents/tab_contents.h"
11 #include "chrome/browser/ui/browser.h"
12 #include "chrome/common/url_constants.h" 12 #include "chrome/common/url_constants.h"
13 #include "chrome/test/automation/dom_element_proxy.h" 13 #include "chrome/test/automation/dom_element_proxy.h"
14 #include "chrome/test/in_process_browser_test.h" 14 #include "chrome/test/in_process_browser_test.h"
15 #include "chrome/test/ui_test_utils.h" 15 #include "chrome/test/ui_test_utils.h"
16 16
17 using ::testing::AnyNumber; 17 using ::testing::AnyNumber;
18 using ::testing::InvokeWithoutArgs; 18 using ::testing::InvokeWithoutArgs;
19 using ::testing::Return; 19 using ::testing::Return;
20 using ::testing::ReturnRef; 20 using ::testing::ReturnRef;
21 using ::testing::_; 21 using ::testing::_;
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 chromeos::UpdateObserver* observe = 112 chromeos::UpdateObserver* observe =
113 new chromeos::UpdateObserver(browser()->profile()); 113 new chromeos::UpdateObserver(browser()->profile());
114 lib->AddObserver(observe); 114 lib->AddObserver(observe);
115 115
116 FireSuccessSequence(lib.get(), &observers); 116 FireSuccessSequence(lib.get(), &observers);
117 FireFailureSequence(lib.get(), &observers); 117 FireFailureSequence(lib.get(), &observers);
118 } 118 }
119 119
120 } // namespace 120 } // namespace
121 121
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698