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

Side by Side Diff: chrome/browser/background/background_contents_service.h

Issue 9706012: Add abstractions that let embedders drive tests of WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove CONTENT_EXPORT on statically linked functions. Merge to head for commit. Created 8 years, 9 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) 2011 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_BACKGROUND_BACKGROUND_CONTENTS_SERVICE_H_ 5 #ifndef CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_SERVICE_H_
6 #define CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_SERVICE_H_ 6 #define CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "chrome/browser/profiles/profile_keyed_service.h" 15 #include "chrome/browser/profiles/profile_keyed_service.h"
16 #include "chrome/browser/tab_contents/background_contents.h" 16 #include "chrome/browser/tab_contents/background_contents.h"
17 #include "content/public/browser/notification_observer.h" 17 #include "content/public/browser/notification_observer.h"
18 #include "content/public/browser/notification_registrar.h" 18 #include "content/public/browser/notification_registrar.h"
19 #include "content/public/common/window_container_type.h" 19 #include "content/public/common/window_container_type.h"
20 #include "googleurl/src/gurl.h" 20 #include "googleurl/src/gurl.h"
21 #include "webkit/glue/window_open_disposition.h" 21 #include "webkit/glue/window_open_disposition.h"
22 22
23 class CommandLine; 23 class CommandLine;
24 class PrefService; 24 class PrefService;
25 class Profile; 25 class Profile;
26 class TabContents;
27 26
28 namespace base { 27 namespace base {
29 class DictionaryValue; 28 class DictionaryValue;
30 } 29 }
31 30
32 namespace gfx { 31 namespace gfx {
33 class Rect; 32 class Rect;
34 } 33 }
35 34
36 struct BackgroundContentsOpenedDetails; 35 struct BackgroundContentsOpenedDetails;
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 // applications. 169 // applications.
171 // Key: application id 170 // Key: application id
172 // Value: BackgroundContentsInfo for the BC associated with that application 171 // Value: BackgroundContentsInfo for the BC associated with that application
173 typedef std::map<string16, BackgroundContentsInfo> BackgroundContentsMap; 172 typedef std::map<string16, BackgroundContentsInfo> BackgroundContentsMap;
174 BackgroundContentsMap contents_map_; 173 BackgroundContentsMap contents_map_;
175 174
176 DISALLOW_COPY_AND_ASSIGN(BackgroundContentsService); 175 DISALLOW_COPY_AND_ASSIGN(BackgroundContentsService);
177 }; 176 };
178 177
179 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_SERVICE_H_ 178 #endif // CHROME_BROWSER_BACKGROUND_BACKGROUND_CONTENTS_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/automation_tab_helper_unittest.cc ('k') | chrome/browser/bookmarks/bookmark_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698